Skip to content

Commit d118174

Browse files
authored
Avoid pulling in clap crate by the library (#140)
`names` has made questionable decision to depend on `clap` by the default which brings unnecessary dependencies for the library users: https://github.com/fnichol/names/blob/b5023b03e2339bf6e860bdcef20557ab81f3ec55/Cargo.toml#L21
1 parent 1e7ccf9 commit d118174

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ path = "examples/internal/rbspy-connect.rs"
5454
[dependencies]
5555
thiserror ="1.0"
5656
log = "0.4"
57-
names = "0.14.0"
57+
names = { version = "0.14.0", default-features = false }
5858
reqwest = { version = "0.11", features = ["blocking"], default-features = false }
5959
url = "2.2.2"
6060
libflate = "1.2.0"

0 commit comments

Comments
 (0)