From 287ae03a51f1012dc93a7444ebc942a8fd941436 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Dec 2022 04:16:24 +0000 Subject: [PATCH] Bump cargo_toml from 0.13.0 to 0.14.0 (#632) * Bump cargo_toml from 0.13.0 to 0.14.0 Bumps [cargo_toml](https://gitlab.com/crates.rs/cargo_toml) from 0.13.0 to 0.14.0. - [Release notes](https://gitlab.com/crates.rs/cargo_toml/tags) - [Commits](https://gitlab.com/crates.rs/cargo_toml/commits/main) --- updated-dependencies: - dependency-name: cargo_toml dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Fix use of `Manifest::complete_from_abstract_filesystem` Signed-off-by: Jiahao XU Signed-off-by: dependabot[bot] Signed-off-by: Jiahao XU Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jiahao XU --- Cargo.lock | 4 ++-- crates/binstalk/Cargo.toml | 2 +- crates/binstalk/src/drivers/crates_io/visitor.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f7a54717..8a086edf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -371,9 +371,9 @@ dependencies = [ [[package]] name = "cargo_toml" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa0e3586af56b3bfa51fca452bd56e8dbbbd5d8d81cbf0b7e4e35b695b537eb8" +checksum = "0f1204fe51a1e56042b8ec31d6407547ecd18f596b66f470dadb9abd9be9c843" dependencies = [ "serde", "toml", diff --git a/crates/binstalk/Cargo.toml b/crates/binstalk/Cargo.toml index 732abb14..018b5aff 100644 --- a/crates/binstalk/Cargo.toml +++ b/crates/binstalk/Cargo.toml @@ -13,7 +13,7 @@ license = "GPL-3.0" async-trait = "0.1.60" binstalk-downloader = { version = "0.2.0", path = "../binstalk-downloader" } binstalk-types = { version = "0.1.0", path = "../binstalk-types" } -cargo_toml = "0.13.0" +cargo_toml = "0.14.0" command-group = { version = "2.0.1", features = ["with-tokio"] } compact_str = { version = "0.6.1", features = ["serde"] } crates_io_api = { version = "0.8.1", default-features = false } diff --git a/crates/binstalk/src/drivers/crates_io/visitor.rs b/crates/binstalk/src/drivers/crates_io/visitor.rs index 26366759..5e85f15b 100644 --- a/crates/binstalk/src/drivers/crates_io/visitor.rs +++ b/crates/binstalk/src/drivers/crates_io/visitor.rs @@ -3,7 +3,7 @@ use std::{ path::{Path, PathBuf}, }; -use cargo_toml::Manifest; +use cargo_toml::{Manifest, Value}; use normalize_path::NormalizePath; use tokio::io::AsyncReadExt; use tracing::debug; @@ -84,7 +84,7 @@ fn load_manifest(slice: &[u8], vfs: &Vfs) -> Result, BinstallErro let mut manifest = Manifest::from_slice_with_metadata(slice)?; // Checks vfs for binary output names - manifest.complete_from_abstract_filesystem(vfs)?; + manifest.complete_from_abstract_filesystem::(vfs, None)?; // Return metadata Ok(manifest)