diff --git a/Cargo.toml b/Cargo.toml index 873bd96..6f126da 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcframework" -version = "0.1.0" +version = "0.1.1" edition = "2024" license = "MIT" repository = "https://github.com/human-solutions/xcframework" @@ -12,8 +12,8 @@ categories = ["development-tools::cargo-plugins", "development-tools::ffi"] [dependencies] anyhow = "1.0" -camino-fs = { version = "0.1.3", features = ["serde"] } -cargo_metadata = { version = "0.19", features = ["builder"] } +camino-fs = { version = "0.1", features = ["serde"] } +cargo_metadata = { version = "0.22", features = ["builder"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" yansi = "1.0" @@ -24,4 +24,4 @@ glob = "0.3" xflags = "0.3" [dev-dependencies] -tempfile = "3.20" +tempfile = "3.21" diff --git a/src/conf/configuration.rs b/src/conf/configuration.rs index a906ebb..af181e5 100644 --- a/src/conf/configuration.rs +++ b/src/conf/configuration.rs @@ -75,7 +75,7 @@ impl Configuration { let package = if let Some(package) = &cli.package { workspace_packages .iter() - .find(|p| &p.name == package) + .find(|p| p.name.as_str() == package) .ok_or(anyhow!("Could not find package '{package}'"))? } else { metadata