Skip to content

Commit

Permalink
Merge pull request #243 from kinode-dao/v0.7.6
Browse files Browse the repository at this point in the history
v0.7.6
  • Loading branch information
nick1udwig authored Sep 25, 2024
2 parents 3a40ef6 + 217ef8e commit da6676d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kit"
version = "0.7.5"
version = "0.7.6"
edition = "2021"

[build-dependencies]
Expand Down
14 changes: 12 additions & 2 deletions src/build/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,19 @@ fn find_crate_versions(

#[instrument(level = "trace", skip_all)]
fn check_process_lib_version(cargo_toml_path: &Path) -> Result<()> {
let metadata = cargo_metadata::MetadataCommand::new()
let metadata = match cargo_metadata::MetadataCommand::new()
.manifest_path(cargo_toml_path)
.exec()?;
.exec()
{
Ok(m) => m,
Err(_) => {
warn!(
"Couldn't find Cargo.toml where expected: {:?}; continuing.",
cargo_toml_path,
);
return Ok(());
}
};
let packages: HashMap<cargo_metadata::PackageId, &cargo_metadata::Package> = metadata
.packages
.iter()
Expand Down

0 comments on commit da6676d

Please sign in to comment.