This is an automated email from the ASF dual-hosted git repository. tisonkun pushed a commit to branch feature-flag in repository https://gitbox.apache.org/repos/asf/datasketches-rust.git
commit 71e929d4e531ef5e6c1b63d22b71195d3e79ac08 Author: tison <[email protected]> AuthorDate: Sat May 9 14:40:02 2026 +0800 fixup Signed-off-by: tison <[email protected]> --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- xtask/src/main.rs | 5 ++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 759784f..a9c0fff 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -90,18 +90,18 @@ dependencies = [ [[package]] name = "cargo-platform" -version = "0.3.0" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8abf5d501fd757c2d2ee78d0cc40f606e92e3a63544420316565556ed28485e2" +checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea" dependencies = [ "serde", ] [[package]] name = "cargo_metadata" -version = "0.23.1" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef987d17b0a113becdd19d3d0022d04d7ef41f9efe4f3fb63ac44ba61df3ade9" +checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" dependencies = [ "camino", "cargo-platform", diff --git a/Cargo.toml b/Cargo.toml index a6e40dc..d6c113d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ datasketches = { path = "datasketches" } clap = { version = "4.5.20", features = ["derive"] } insta = { version = "1.46.1" } googletest = { version = "0.14.2" } -cargo_metadata = { version = "0.23.1" } +cargo_metadata = { version = "0.19.1" } which = { version = "8.0.0" } [workspace.lints.rust] diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 57a02b0..5bcaaac 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -53,8 +53,7 @@ struct CommandTest { impl CommandTest { fn run(self) { let features = sketches_features(); - let features_refs: Vec<&str> = features.iter().map(|s| s.as_str()).collect(); - run_command(make_test_cmd(self.no_capture, &features_refs)); + run_command(make_test_cmd(self.no_capture, &features)); } } @@ -122,7 +121,7 @@ fn run_command(mut cmd: StdCommand) { assert!(status.success(), "command failed: {status}"); } -fn make_test_cmd(no_capture: bool, features: &[&str]) -> StdCommand { +fn make_test_cmd(no_capture: bool, features: &[String]) -> StdCommand { let mut cmd = find_command("cargo"); cmd.args(["test", "--workspace", "--no-default-features"]); if !features.is_empty() { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
