mirror of
https://github.com/rust-lang/cargo
synced 2024-10-02 14:04:23 +00:00
parent
b1b25a0255
commit
a9f704aaaa
|
@ -58,7 +58,7 @@ strip-ansi-escapes = "0.1.0"
|
|||
tar = { version = "0.4.38", default-features = false }
|
||||
tempfile = "3.0"
|
||||
termcolor = "1.1"
|
||||
toml_edit = { version = "0.14.3", features = ["serde", "easy", "perf"] }
|
||||
toml_edit = { version = "0.15.0", features = ["serde", "easy", "perf"] }
|
||||
unicode-xid = "0.2.0"
|
||||
url = "2.2.2"
|
||||
walkdir = "2.2"
|
||||
|
|
|
@ -9,4 +9,4 @@ description = "Tool for capturing a real-world workspace for benchmarking."
|
|||
cargo_metadata = "0.14.0"
|
||||
flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
|
||||
tar = { version = "0.4.38", default-features = false }
|
||||
toml_edit = { version = "0.14.3", features = ["serde", "easy", "perf"] }
|
||||
toml_edit = { version = "0.15.0", features = ["serde", "easy", "perf"] }
|
||||
|
|
|
@ -23,7 +23,7 @@ remove_dir_all = "0.5"
|
|||
serde_json = "1.0"
|
||||
tar = { version = "0.4.38", default-features = false }
|
||||
termcolor = "1.1.2"
|
||||
toml_edit = { version = "0.14.3", features = ["serde", "easy", "perf"] }
|
||||
toml_edit = { version = "0.15.0", features = ["serde", "easy", "perf"] }
|
||||
url = "2.2.2"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
|
|
|
@ -58,8 +58,7 @@ fn vendor_sample_config() {
|
|||
|
||||
p.cargo("vendor --respect-source-config")
|
||||
.with_stdout(
|
||||
r#"
|
||||
[source.crates-io]
|
||||
r#"[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
|
@ -103,8 +102,7 @@ fn vendor_path_specified() {
|
|||
// path is normalized by `ops::vendor` on Windows.
|
||||
assert_eq!(
|
||||
&String::from_utf8(output.stdout).unwrap(),
|
||||
r#"
|
||||
[source.crates-io]
|
||||
r#"[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
|
|
Loading…
Reference in a new issue