mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 12:38:43 +00:00
Bump dep cargo_toml
to v0.12.0 (#413)
* Bump dep cargo_toml to v0.12.0 * FIx compilation error * Fix test parse-meta Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
34e493927f
commit
cd3afdd9a3
4 changed files with 4 additions and 11 deletions
5
Cargo.lock
generated
5
Cargo.lock
generated
|
@ -221,12 +221,11 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cargo_toml"
|
name = "cargo_toml"
|
||||||
version = "0.11.5"
|
version = "0.12.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "5809dd3e6444651fd1cdd3dbec71eca438c439a0fcc8081674a14da0afe50185"
|
checksum = "1aecd74f843e919090741163a59948751f6f57b5a9b3d7a4a4d278e17b6a16cf"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
"serde_derive",
|
|
||||||
"toml",
|
"toml",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ license = "GPL-3.0"
|
||||||
async-trait = "0.1.57"
|
async-trait = "0.1.57"
|
||||||
bytes = "1.2.1"
|
bytes = "1.2.1"
|
||||||
bzip2 = "0.4.3"
|
bzip2 = "0.4.3"
|
||||||
cargo_toml = "0.11.5"
|
cargo_toml = "0.12.0"
|
||||||
clap = { version = "3.2.22", features = ["derive"] }
|
clap = { version = "3.2.22", features = ["derive"] }
|
||||||
compact_str = { version = "0.6.0", features = ["serde"] }
|
compact_str = { version = "0.6.0", features = ["serde"] }
|
||||||
crates_io_api = { version = "0.8.1", default-features = false }
|
crates_io_api = { version = "0.8.1", default-features = false }
|
||||||
|
|
|
@ -41,9 +41,3 @@ impl AbstractFilesystem for Vfs {
|
||||||
Ok(self.0.get(&*rel_path).map(Clone::clone).unwrap_or_default())
|
Ok(self.0.get(&*rel_path).map(Clone::clone).unwrap_or_default())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl AbstractFilesystem for &Vfs {
|
|
||||||
fn file_names_in(&self, rel_path: &str) -> io::Result<HashSet<Box<str>>> {
|
|
||||||
(*self).file_names_in(rel_path)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ fn parse_meta() {
|
||||||
&[Product {
|
&[Product {
|
||||||
name: Some("cargo-binstall".to_string()),
|
name: Some("cargo-binstall".to_string()),
|
||||||
path: Some("src/main.rs".to_string()),
|
path: Some("src/main.rs".to_string()),
|
||||||
edition: Some(cargo_toml::Edition::E2021),
|
edition: cargo_toml::Edition::E2021,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},],
|
},],
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue