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] <support@github.com>

* Fix use of `Manifest::complete_from_abstract_filesystem`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
dependabot[bot] 2022-12-28 04:16:24 +00:00 committed by GitHub
parent c022cd9b0c
commit 287ae03a51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

4
Cargo.lock generated
View file

@ -371,9 +371,9 @@ dependencies = [
[[package]] [[package]]
name = "cargo_toml" name = "cargo_toml"
version = "0.13.0" version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa0e3586af56b3bfa51fca452bd56e8dbbbd5d8d81cbf0b7e4e35b695b537eb8" checksum = "0f1204fe51a1e56042b8ec31d6407547ecd18f596b66f470dadb9abd9be9c843"
dependencies = [ dependencies = [
"serde", "serde",
"toml", "toml",

View file

@ -13,7 +13,7 @@ license = "GPL-3.0"
async-trait = "0.1.60" async-trait = "0.1.60"
binstalk-downloader = { version = "0.2.0", path = "../binstalk-downloader" } binstalk-downloader = { version = "0.2.0", path = "../binstalk-downloader" }
binstalk-types = { version = "0.1.0", path = "../binstalk-types" } 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"] } command-group = { version = "2.0.1", features = ["with-tokio"] }
compact_str = { version = "0.6.1", features = ["serde"] } compact_str = { version = "0.6.1", features = ["serde"] }
crates_io_api = { version = "0.8.1", default-features = false } crates_io_api = { version = "0.8.1", default-features = false }

View file

@ -3,7 +3,7 @@ use std::{
path::{Path, PathBuf}, path::{Path, PathBuf},
}; };
use cargo_toml::Manifest; use cargo_toml::{Manifest, Value};
use normalize_path::NormalizePath; use normalize_path::NormalizePath;
use tokio::io::AsyncReadExt; use tokio::io::AsyncReadExt;
use tracing::debug; use tracing::debug;
@ -84,7 +84,7 @@ fn load_manifest(slice: &[u8], vfs: &Vfs) -> Result<Manifest<Meta>, BinstallErro
let mut manifest = Manifest::from_slice_with_metadata(slice)?; let mut manifest = Manifest::from_slice_with_metadata(slice)?;
// Checks vfs for binary output names // Checks vfs for binary output names
manifest.complete_from_abstract_filesystem(vfs)?; manifest.complete_from_abstract_filesystem::<Value, _>(vfs, None)?;
// Return metadata // Return metadata
Ok(manifest) Ok(manifest)