Skip to content

Commit 1531eea

Browse files
committed
chore: bump cargo metadata to 0.23.0
1 parent 219493a commit 1531eea

File tree

4 files changed

+31
-19
lines changed

4 files changed

+31
-19
lines changed

Cargo.lock

Lines changed: 27 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/cargo-codspeed/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ categories = [
1919
keywords = ["codspeed", "benchmark", "cargo"]
2020

2121
[dependencies]
22-
cargo_metadata = "0.19.2"
22+
cargo_metadata = "0.23.0"
2323
clap = { version = "=4.5.17", features = ["derive", "env"] }
2424
termcolor = "1.4"
2525
anyhow = { workspace = true }

crates/cargo-codspeed/src/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ impl BuildOptions<'_> {
9696

9797
if add_bench_to_codspeed_dir {
9898
built_benches.push(BuiltBench {
99-
package: package.name.clone(),
99+
package: package.name.to_string(),
100100
bench: bench_target_name,
101101
executable_path: artifact
102102
.executable

crates/cargo-codspeed/src/run.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl PackageFilters {
5858
let mut benches = vec![];
5959
for package in packages {
6060
let package_name = &package.name;
61-
let package_target_dir = codspeed_target_dir.join(package_name);
61+
let package_target_dir = codspeed_target_dir.join(package_name.to_string());
6262
let working_directory = package.manifest_path.parent().ok_or_else(|| {
6363
Error::msg(format!("Failed to get root dir for package {package_name}"))
6464
})?;
@@ -79,7 +79,7 @@ impl PackageFilters {
7979
}
8080
if !bench_path.is_dir() {
8181
benches.push(BenchToRun {
82-
package_name: package_name.clone(),
82+
package_name: package_name.to_string(),
8383
working_directory: working_directory.into(),
8484
bench_path,
8585
bench_target_name,

0 commit comments

Comments
 (0)