Skip to content

Commit

Permalink
Merge pull request #230 from decathorpe/main
Browse files Browse the repository at this point in the history
bump derive_builder dependency to v0.12
  • Loading branch information
oli-obk authored May 30, 2023
2 parents 8856575 + b8475ad commit 9e0a516
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ description = "structured access to the output of `cargo metadata`"
license = "MIT"
readme = "README.md"
edition = "2018"
rust-version = "1.42.0"
rust-version = "1.56.0"

[dependencies]
camino = { version = "1.0.7", features = ["serde1"] }
cargo-platform = "0.1.2"
derive_builder = { version = "0.11.1", optional = true }
derive_builder = { version = "0.12", optional = true }
semver = { version = "1.0.7", features = ["serde"] }
serde = { version = "1.0.136", features = ["derive"] }
serde_json = { version = "1.0.79", features = ["unbounded_depth"] }
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ impl MetadataCommand {
.or_else(|| env::var("CARGO").map(PathBuf::from).ok())
.unwrap_or_else(|| PathBuf::from("cargo"));
let mut cmd = Command::new(cargo);
cmd.args(&["metadata", "--format-version", "1"]);
cmd.args(["metadata", "--format-version", "1"]);

if self.no_deps {
cmd.arg("--no-deps");
Expand Down

0 comments on commit 9e0a516

Please sign in to comment.