-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
62 lines (53 loc) · 1.61 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[package]
name = "alt"
version = "1.5.1"
description = "A tool for switching between different version so commands based on the current directory."
authors = ["Boris Bera <bera.boris@gmail.com>"]
edition = "2021"
license = "MIT"
readme = "README.md"
build = "build.rs"
publish = false
[package.metadata.deb]
assets = [
["target/release/alt", "usr/bin/alt", "755"],
["README.md", "usr/share/doc/alt/README.md", "644"],
["etc/profile.d/alt.sh", "etc/profile.d/alt.sh", "644"],
["etc/fish/conf.d/alt.fish", "etc/fish/conf.d/alt.fish", "644"],
["target/release/completion/alt.fish", "etc/fish/completions/alt.fish", "644"],
["target/release/completion/alt.bash", "etc/bash_completion.d/alt", "644"],
["target/release/completion/_alt", "usr/share/zsh/vendor-completions/_alt", "644"],
["target/release/man/*.1", "usr/share/man/man1/", "644"],
]
[profile.release]
lto = true
[profile.dev.package.insta]
opt-level = 3
[profile.dev.package.similar]
opt-level = 3
[dependencies]
anyhow = "1.0.82"
clap = { version = "4.5.4", features = ["cargo", "wrap_help"] }
toml = "0.8.12"
console = "0.15.8"
lazy_static = "1.4.0"
dialoguer = "0.11.0"
glob = "0.3.1"
thiserror = "1.0.59"
[dependencies.regex]
version = "1.10.4"
default-features = false
features = ["std", "perf", "unicode-perl"]
[dev-dependencies]
assert_cmd = "2.0.14"
escargot = "0.5.10"
insta = { version = "1.38.0", features = ["filters", "toml"] }
predicates = "3.1.0"
rand = "0.8.5"
serde = "1.0.200"
test-case = "3.3.1"
tempfile = "3.10.1"
[build-dependencies]
clap = { version = "4.5.4", features = ["cargo"] }
clap_complete = "4.5.2"
clap_mangen = "0.2.20"