mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +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
|
@ -13,7 +13,7 @@ license = "GPL-3.0"
|
|||
async-trait = "0.1.57"
|
||||
bytes = "1.2.1"
|
||||
bzip2 = "0.4.3"
|
||||
cargo_toml = "0.11.5"
|
||||
cargo_toml = "0.12.0"
|
||||
clap = { version = "3.2.22", features = ["derive"] }
|
||||
compact_str = { version = "0.6.0", features = ["serde"] }
|
||||
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())
|
||||
}
|
||||
}
|
||||
|
||||
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 {
|
||||
name: Some("cargo-binstall".to_string()),
|
||||
path: Some("src/main.rs".to_string()),
|
||||
edition: Some(cargo_toml::Edition::E2021),
|
||||
edition: cargo_toml::Edition::E2021,
|
||||
..Default::default()
|
||||
},],
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue