Skip to content

Commit

Permalink
Merge pull request #919 from epage/feature-gate-deps
Browse files Browse the repository at this point in the history
chore: Remove unused deps
  • Loading branch information
epage authored Jan 21, 2025
2 parents 03ed322 + f1d55e5 commit 3356253
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 194 deletions.
185 changes: 1 addition & 184 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,13 @@ cargo_metadata = "0.15.4"
# one they want to be used.
tame-index = { version = "0.13", features = ["sparse", "native-certs", "local"] }
dunce = "1.0"
env_proxy = "0.4.1"
anyhow = "1.0"
hex = "0.4.3"
home = "0.5.5"
regex = "1.9.4"
serde = "1.0.188"
serde_derive = "1.0.188"
serde_json = "1.0.105"
clap = { version = "4.4.2", features = ["derive", "wrap_help"], optional = true }
clap-cargo = "0.12.0"
subprocess = "0.2.9"
termcolor = "1.2.0"
toml = "0.7.6"
toml_edit = "0.19.14"
Expand All @@ -88,14 +84,10 @@ features = ["serde"]
version = "1.0.18"

[dev-dependencies]
predicates = { version = "3.0.3", features = ["color"] }
assert_cmd = { version = "2.0.12", features = ["color-auto"] }
assert_fs = { version = "1.0.13", features = ["color-auto"] }
trycmd = "0.14.17"
snapbox = { version = "0.6.9", features = ["cmd", "path"] }
cargo-test-macro = "0.3"
cargo-test-support = "0.3"
url = "2.4.0"

[profile.release]
panic = "abort"
Expand Down
6 changes: 4 additions & 2 deletions src/bin/set-version/set_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ fn exec(args: VersionArgs) -> CargoResult<()> {
.iter()
.filter(|p| {
LocalManifest::try_new(Path::new(&p.manifest_path))
.map_or(false, |m| m.version_is_inherited())
.map(|m| m.version_is_inherited())
.unwrap_or(false)
})
.map(|p| p.name.as_str())
.collect::<Vec<_>>();
Expand All @@ -148,7 +149,8 @@ fn exec(args: VersionArgs) -> CargoResult<()> {
.filter(|i| !selected.iter().any(|s| i.id == s.id))
.filter(|i| {
LocalManifest::try_new(Path::new(&i.manifest_path))
.map_or(false, |m| m.version_is_inherited())
.map(|m| m.version_is_inherited())
.unwrap_or(false)
})
.collect::<Vec<_>>();
let exclude_implicit = implicit
Expand Down

0 comments on commit 3356253

Please sign in to comment.