-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (47 loc) · 1.17 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
[package]
name = "pathfix"
description = "Fixes the $PATH variable mess by generating it for you"
version = "0.1.4-alpha.3"
authors = ["Raphael Peters <[email protected]>"]
edition = "2018"
readme = "README.md"
license = "GPL-3.0"
repository = "https://github.com/rappet/pathfix"
[lib]
name = "pathfix"
path = "src/lib.rs"
[[bin]]
name = "pathfix"
path = "src/bin/pathfix/main.rs"
[features]
logging = ["env_logger"]
[dependencies]
clap = "3.0.0-beta.2"
serde = { version = "1", features = ["derive"] }
toml = "0.5.8"
log = "0.4.14"
env_logger = { version = "0.8.3", optional = true }
thiserror = "1.0.24"
users = "0.11.0"
[dev-dependencies]
assert_cmd = "1.0.3"
[profile.release]
lto = true
panic = "abort"
[package.metadata.deb]
extended-description = """\
Fixes the PATH variable mess.\
\
Pathfix will\
\
- remove duplicate entries in $PATH\
- automatically find other entries for $PATH"""
depends = "$auto"
section = "utility"
priority = "optional"
assets = [
["target/release/pathfix", "usr/bin/", "755"],
["README.md", "usr/share/doc/pathfix/README", "644"],
["doc/pathfix.1.gz", "usr/share/man/man1/pathfix.1.gz", "644"],
["src/config.toml", "etc/pathfix.toml", "644"]
]