History

upgrade dependencies except for crates-index (#266)

The latter needs the notion of the index not existing, and shouldn't fetch it by default or else each sanbox run fetches the entire index.

Sebastian Thiel committed 4 years ago

Commit c77c0d61 parent 0dfe4a77 files · +29 −52Browse files

Unified · Split

7 files
  1. Cargo.lock +21 −44
  2. cargo-smart-release/Cargo.toml +3 −3
  3. cargo-smart-release/src/command/release/manifest.rs +1 −1
  4. cargo-smart-release/tests/snapshots/triple-depth-workspace/crate-a-released-force-bump/a/CHANGELOG.md +1 −1
  5. cargo-smart-release/tests/snapshots/triple-depth-workspace/crate-a-released-force-bump/b/Cargo.toml +1 −1
  6. cargo-smart-release/tests/snapshots/triple-depth-workspace/crate-a-released-force-bump/c/Cargo.toml +1 −1
  7. cargo-smart-release/tests/snapshots/triple-depth-workspace/crate-a-released/b/Cargo.toml +1 −1
Cargo.lock+21−44
@@ -371,7 +371,7 @@ dependencies = [ · 370 unmodified lines
371371 "nom",
372372 "pulldown-cmark",
373373 "semver",
374− "time 0.3.5",
374+ "time",
375375 "toml_edit",
376376 ]
377377
@@ -390,9 +390,9 @@ dependencies = [ · 12 unmodified lines
390390
391391 [[package]]
392392 name = "cargo_toml"
393−version = "0.9.2"
393+version = "0.10.2"
394394 source = "registry+https://github.com/rust-lang/crates.io-index"
395−checksum = "9c3596addfb02dcdc06f5252ddda9f3785f9230f5827fb4284645240fa05ad92"
395+checksum = "67110a7844b75a4dda12f4dca5a731c961750d6c8fa3cb6a41ab67411be05d3a"
396396 dependencies = [
397397 "serde",
398398 "serde_derive",
@@ -429,19 +429,6 @@ version = "1.0.0" · 30 unmodified lines
429429 source = "registry+https://github.com/rust-lang/crates.io-index"
430430 checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
431431
432−[[package]]
433−name = "chrono"
434−version = "0.4.19"
435−source = "registry+https://github.com/rust-lang/crates.io-index"
436−checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
437−dependencies = [
438− "libc",
439− "num-integer",
440− "num-traits",
441− "time 0.1.43",
442− "winapi",
443−]
444−
445432 [[package]]
446433 name = "clap"
447434 version = "2.34.0"
@@ -1126,9 +1113,9 @@ dependencies = [ · 678 unmodified lines
11261113
11271114 [[package]]
11281115 name = "git-conventional"
1129−version = "0.10.3"
1116+version = "0.11.1"
11301117 source = "registry+https://github.com/rust-lang/crates.io-index"
1131−checksum = "320bc4ceca39bbe9c90bf2eebea9c9e15e079db1e3bf45037bcccb75e56668c2"
1118+checksum = "2e85b0054ddc3039f8c9dbf8c2235c51850bbcfe479b10ce61d951911001bb93"
11321119 dependencies = [
11331120 "doc-comment",
11341121 "nom",
@@ -1194,7 +1181,7 @@ dependencies = [ · 59 unmodified lines
11941181 "quick-error",
11951182 "sha-1",
11961183 "sha1",
1197− "time 0.3.5",
1184+ "time",
11981185 "walkdir",
11991186 ]
12001187
@@ -1902,6 +1889,15 @@ dependencies = [ · 701 unmodified lines
19021889 "rayon",
19031890 ]
19041891
1892+[[package]]
1893+name = "kstring"
1894+version = "1.0.6"
1895+source = "registry+https://github.com/rust-lang/crates.io-index"
1896+checksum = "8b310ccceade8121d7d77fee406160e457c2f4e7c7982d589da3499bc7ea4526"
1897+dependencies = [
1898+ "serde",
1899+]
1900+
19051901 [[package]]
19061902 name = "kv-log-macro"
19071903 version = "1.0.7"
@@ -2131,16 +2127,6 @@ dependencies = [ · 223 unmodified lines
21312127 "winapi",
21322128 ]
21332129
2134−[[package]]
2135−name = "num-integer"
2136−version = "0.1.44"
2137−source = "registry+https://github.com/rust-lang/crates.io-index"
2138−checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"
2139−dependencies = [
2140− "autocfg",
2141− "num-traits",
2142−]
2143−
21442130 [[package]]
21452131 name = "num-traits"
21462132 version = "0.2.14"
@@ -2437,7 +2423,7 @@ dependencies = [ · 290 unmodified lines
24372423 "humantime",
24382424 "log",
24392425 "parking_lot",
2440− "time 0.3.5",
2426+ "time",
24412427 "tui",
24422428 "tui-react",
24432429 "unicode-segmentation",
@@ -2929,16 +2915,6 @@ dependencies = [ · 485 unmodified lines
29292915 "syn",
29302916 ]
29312917
2932−[[package]]
2933−name = "time"
2934−version = "0.1.43"
2935−source = "registry+https://github.com/rust-lang/crates.io-index"
2936−checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
2937−dependencies = [
2938− "libc",
2939− "winapi",
2940−]
2941−
29422918 [[package]]
29432919 name = "time"
29442920 version = "0.3.5"
@@ -2985,13 +2961,14 @@ dependencies = [ · 40 unmodified lines
29852961
29862962 [[package]]
29872963 name = "toml_edit"
2988−version = "0.2.1"
2964+version = "0.12.0"
29892965 source = "registry+https://github.com/rust-lang/crates.io-index"
2990−checksum = "dbbdcf4f749dd33b1f1ea19b547bf789d87442ec40767d6015e5e2d39158d69a"
2966+checksum = "c14e16aafed5fb7a1bdc293270ca28f17d0a09b4f528f8de34521f2a32d99198"
29912967 dependencies = [
2992− "chrono",
29932968 "combine",
2994− "linked-hash-map",
2969+ "indexmap",
2970+ "itertools",
2971+ "kstring",
29952972 ]
29962973
29972974 [[package]]
cargo-smart-release/Cargo.toml+3−3
@@ -32,12 +32,12 @@ clap = { version = "=3.0.0-rc.7", features = ["derive", "cargo"] } · 31 unmodified lines
3232 env_logger = { version = "0.9.0", default-features = false, features = ["humantime", "termcolor", "atty"] }
3333 cargo_metadata = "0.14.0"
3434 log = "0.4.14"
35−toml_edit = "0.2.1"
35+toml_edit = "0.12.0"
3636 semver = "1.0.4"
3737 crates-index = "0.17.0"
38−cargo_toml = "0.9.2"
38+cargo_toml = "0.10.2"
3939 nom = { version = "7", default-features = false, features = ["std"]}
40−git-conventional = "0.10.3"
40+git-conventional = "0.11.1"
4141 time = "0.3.2"
4242 pulldown-cmark = "0.8.0"
4343 bitflags = "1.3.2"
cargo-smart-release/src/command/release/manifest.rs+1−1
@@ -565,7 +565,7 @@ fn set_version_and_update_package_dependency( · 564 unmodified lines
565565 }
566566 }
567567 }
568− let new_manifest = doc.to_string_in_original_order();
568+ let new_manifest = doc.to_string();
569569 out.write_all(new_manifest.as_bytes())?;
570570
571571 Ok(manifest != new_manifest)
cargo-smart-release/tests/snapshots/triple-depth-workspace/crate-a-released-force-bump/a/CHANGELOG.md+1−1
@@ -22,7 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 · 21 unmodified lines
2222 <details><summary>view details</summary>
2323
2424 * **Uncategorized**
25− - initial (de05a2d)
25+ - initial (0189fce)
2626 </details>
2727
2828 ## v0.8.0 (2021-09-09)
cargo-smart-release/tests/snapshots/triple-depth-workspace/crate-a-released-force-bump/b/Cargo.toml+1−1
@@ -6,4 +6,4 @@ edition = "2018" · 5 unmodified lines
66 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77
88 [dependencies]
9−a = { path = "../a", version ="^0.9.0"}
9+a = { path = "../a", version = "^0.9.0" }
cargo-smart-release/tests/snapshots/triple-depth-workspace/crate-a-released-force-bump/c/Cargo.toml+1−1
@@ -6,4 +6,4 @@ edition = "2018" · 5 unmodified lines
66 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77
88 [dependencies]
9−b = { path = "../b", version ="^0.9.0"}
9+b = { path = "../b", version = "^0.9.0" }
cargo-smart-release/tests/snapshots/triple-depth-workspace/crate-a-released/b/Cargo.toml+1−1
@@ -6,4 +6,4 @@ edition = "2018" · 5 unmodified lines
66 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77
88 [dependencies]
9−a = { path = "../a", version ="^0.8.0"}
9+a = { path = "../a", version = "^0.8.0" }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t