History

update dependencie

Sebastian Thiel committed 6 years ago

Commit ade06b41 parent 310a59e2 files · +60 −37Browse files

Unified · Split

2 files
  1. Cargo.lock +50 −30
  2. git-features/src/progress/mod.rs +10 −7
Cargo.lock+50−30
@@ -93,16 +93,17 @@ dependencies = [ · 92 unmodified lines
9393
9494 [[package]]
9595 name = "async-io"
96−version = "0.1.9"
96+version = "0.1.11"
9797 source = "registry+https://github.com/rust-lang/crates.io-index"
98−checksum = "6a679dff790f7943b4ddd12cf2d00cdadf3db0cb3a370eb2c77723343354e147"
98+checksum = "3ae22a338d28c75b53702b66f77979062cb29675db376d99e451af4fa79dedb3"
9999 dependencies = [
100100 "cfg-if",
101101 "concurrent-queue",
102102 "futures-lite",
103103 "libc",
104104 "once_cell",
105− "parking",
105+ "parking 2.0.0",
106+ "polling",
106107 "socket2",
107108 "vec-arena",
108109 "wepoll-sys-stjepang",
@@ -272,9 +273,9 @@ checksum = "f3f6d59c71e7dc3af60f0af9db32364d96a16e9310f3f5db2b55ed642162dd35" · 163 unmodified lines
272273
273274 [[package]]
274275 name = "concurrent-queue"
275−version = "1.2.0"
276+version = "1.2.2"
276277 source = "registry+https://github.com/rust-lang/crates.io-index"
277−checksum = "e296417c8154304ac70aceda41f05318f986f7c0c767bcb0a2366fbb890e78e1"
278+checksum = "30ed07550be01594c6026cff2a1d7fe9c8f683caa798e12b68694ac9e88286a3"
278279 dependencies = [
279280 "cache-padded",
280281 ]
@@ -439,12 +440,13 @@ dependencies = [ · 158 unmodified lines
439440
440441 [[package]]
441442 name = "dashmap"
442−version = "3.11.9"
443+version = "3.11.10"
443444 source = "registry+https://github.com/rust-lang/crates.io-index"
444−checksum = "2ad86b725566cbbf4c0cb01a17bfd1c9ad1830786a02dfc11c380b21b08f02ed"
445+checksum = "0f260e2fc850179ef410018660006951c1b55b79e8087e87111a2c388994b9b5"
445446 dependencies = [
446447 "ahash",
447448 "cfg-if",
449+ "num_cpus",
448450 ]
449451
450452 [[package]]
@@ -470,9 +472,9 @@ checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" · 19 unmodified lines
470472
471473 [[package]]
472474 name = "either"
473−version = "1.5.3"
475+version = "1.6.0"
474476 source = "registry+https://github.com/rust-lang/crates.io-index"
475−checksum = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3"
477+checksum = "cd56b59865bce947ac5958779cfa508f6c3b9497cc762b7e24a12d11ccde2c4f"
476478
477479 [[package]]
478480 name = "env_logger"
@@ -488,15 +490,15 @@ dependencies = [ · 9 unmodified lines
488490
489491 [[package]]
490492 name = "event-listener"
491−version = "2.3.0"
493+version = "2.3.3"
492494 source = "registry+https://github.com/rust-lang/crates.io-index"
493−checksum = "298f00c3b04c1d9b4cb86aefaaa35348af0957d98b30a5306fc635f8e718923d"
495+checksum = "7f14646a9e0430150a87951622ba9675472b68e384b7701b8423b30560805c7a"
494496
495497 [[package]]
496498 name = "fastrand"
497−version = "1.3.3"
499+version = "1.3.4"
498500 source = "registry+https://github.com/rust-lang/crates.io-index"
499−checksum = "36a9cb09840f81cd211e435d00a4e487edd263dc3c8ff815c32dd76ad668ebed"
501+checksum = "4bd3bdaaf0a72155260a1c098989b60db1cbb22d6a628e64f16237aa4da93cc7"
500502
501503 [[package]]
502504 name = "filebuffer"
@@ -551,7 +553,7 @@ dependencies = [ · 48 unmodified lines
551553 "futures-core",
552554 "futures-io",
553555 "memchr",
554− "parking",
556+ "parking 1.0.6",
555557 "pin-project-lite",
556558 "waker-fn",
557559 ]
@@ -586,9 +588,9 @@ dependencies = [ · 28 unmodified lines
586588
587589 [[package]]
588590 name = "generic-array"
589−version = "0.14.3"
591+version = "0.14.4"
590592 source = "registry+https://github.com/rust-lang/crates.io-index"
591−checksum = "60fb4bb6bba52f78a471264d9a3b7d026cc0af47b22cd2cffbc0b787ca003e63"
593+checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817"
592594 dependencies = [
593595 "typenum",
594596 "version_check",
@@ -724,9 +726,9 @@ dependencies = [ · 129 unmodified lines
724726
725727 [[package]]
726728 name = "hashbrown"
727−version = "0.8.1"
729+version = "0.8.2"
728730 source = "registry+https://github.com/rust-lang/crates.io-index"
729−checksum = "34f595585f103464d8d2f6e9864682d74c1601fed5e07d62b1c9058dba8246fb"
731+checksum = "e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25"
730732 dependencies = [
731733 "autocfg",
732734 ]
@@ -778,9 +780,9 @@ checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a" · 45 unmodified lines
778780
779781 [[package]]
780782 name = "indexmap"
781−version = "1.5.0"
783+version = "1.5.1"
782784 source = "registry+https://github.com/rust-lang/crates.io-index"
783−checksum = "5b88cd59ee5f71fea89a62248fc8f387d44400cefe05ef548466d61ced9029a7"
785+checksum = "86b45e59b16c76b11bf9738fd5d38879d3bd28ad292d7b313608becb17ae2df9"
784786 dependencies = [
785787 "autocfg",
786788 "hashbrown",
@@ -981,6 +983,12 @@ version = "1.0.6" · 194 unmodified lines
981983 source = "registry+https://github.com/rust-lang/crates.io-index"
982984 checksum = "6cb300f271742d4a2a66c01b6b2fa0c83dfebd2e0bf11addb879a3547b4ed87c"
983985
986+[[package]]
987+name = "parking"
988+version = "2.0.0"
989+source = "registry+https://github.com/rust-lang/crates.io-index"
990+checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"
991+
984992 [[package]]
985993 name = "parking_lot"
986994 version = "0.10.2"
@@ -1063,6 +1071,18 @@ version = "0.1.0" · 76 unmodified lines
10631071 source = "registry+https://github.com/rust-lang/crates.io-index"
10641072 checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
10651073
1074+[[package]]
1075+name = "polling"
1076+version = "0.1.2"
1077+source = "registry+https://github.com/rust-lang/crates.io-index"
1078+checksum = "c134fc4b7c9b673e3002cbcdc07ccf84c50205e29a32f7ebe660095865514de3"
1079+dependencies = [
1080+ "cfg-if",
1081+ "libc",
1082+ "wepoll-sys-stjepang",
1083+ "winapi",
1084+]
1085+
10661086 [[package]]
10671087 name = "ppv-lite86"
10681088 version = "0.2.8"
@@ -1124,9 +1144,9 @@ dependencies = [ · 55 unmodified lines
11241144
11251145 [[package]]
11261146 name = "prodash"
1127−version = "8.0.0"
1147+version = "8.0.1"
11281148 source = "registry+https://github.com/rust-lang/crates.io-index"
1129−checksum = "7959e0ebe1ff13ae08d5125cd6dbef2e8856f14f7677bca7800985e7a31b73c3"
1149+checksum = "cfa979760b5dcdf8bac786172dde6e71224cd27de35a21e4f16dcfab8babf534"
11301150 dependencies = [
11311151 "async-io",
11321152 "bytesize",
@@ -1303,18 +1323,18 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" · 170 unmodified lines
13031323
13041324 [[package]]
13051325 name = "serde"
1306−version = "1.0.114"
1326+version = "1.0.115"
13071327 source = "registry+https://github.com/rust-lang/crates.io-index"
1308−checksum = "5317f7588f0a5078ee60ef675ef96735a1442132dc645eb1d12c018620ed8cd3"
1328+checksum = "e54c9a88f2da7238af84b5101443f0c0d0a3bbdc455e34a5c9497b1903ed55d5"
13091329 dependencies = [
13101330 "serde_derive",
13111331 ]
13121332
13131333 [[package]]
13141334 name = "serde_derive"
1315−version = "1.0.114"
1335+version = "1.0.115"
13161336 source = "registry+https://github.com/rust-lang/crates.io-index"
1317−checksum = "2a0be94b04690fbaed37cddffc5c134bf537c8e3329d53e982fe04c374978f8e"
1337+checksum = "609feed1d0a73cc36a0182a840a9b37b4a82f0b1150369f0536a9e3f2a31dc48"
13181338 dependencies = [
13191339 "proc-macro2",
13201340 "quote",
@@ -1364,9 +1384,9 @@ dependencies = [ · 43 unmodified lines
13641384
13651385 [[package]]
13661386 name = "signal-hook-registry"
1367−version = "1.2.0"
1387+version = "1.2.1"
13681388 source = "registry+https://github.com/rust-lang/crates.io-index"
1369−checksum = "94f478ede9f64724c5d173d7bb56099ec3e2d9fc2774aac65d34b8b890405f41"
1389+checksum = "a3e12110bc539e657a646068aaf5eb5b63af9d0c1f7b29c97113fad80e15f035"
13701390 dependencies = [
13711391 "arc-swap",
13721392 "libc",
@@ -1465,9 +1485,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" · 92 unmodified lines
14651485
14661486 [[package]]
14671487 name = "syn"
1468−version = "1.0.37"
1488+version = "1.0.38"
14691489 source = "registry+https://github.com/rust-lang/crates.io-index"
1470−checksum = "239f255b9e3429350f188c27b807fc9920a15eb9145230ff1a7d054c08fec319"
1490+checksum = "e69abc24912995b3038597a7a593be5053eb0fb44f3cc5beec0deb421790c1f4"
14711491 dependencies = [
14721492 "proc-macro2",
14731493 "quote",
git-features/src/progress/mod.rs+10−7
@@ -3,12 +3,15 @@ use std::io; · 2 unmodified lines
33 pub use prodash::progress::{Discard, DoOrDiscard, Either, ThroughputOnDrop};
44 pub use prodash::{unit, Progress, Unit};
55
6−pub fn bytes() -> Unit {
7− unit::dynamic_and_mode(unit::Bytes, unit::display::Mode::with_throughput().and_percentage())
6+pub fn bytes() -> Option<Unit> {
7+ Some(unit::dynamic_and_mode(
8+ unit::Bytes,
9+ unit::display::Mode::with_throughput().and_percentage(),
10+ ))
811 }
912
10−pub fn count(name: &'static str) -> Unit {
11− unit::dynamic_and_mode(
13+pub fn count(name: &'static str) -> Option<Unit> {
14+ Some(unit::dynamic_and_mode(
1215 unit::Human::new(
1316 {
1417 let mut f = unit::human::Formatter::new();
@@ -18,11 +21,11 @@ pub fn count(name: &'static str) -> Unit { · 3 unmodified lines
1821 name,
1922 ),
2023 unit::display::Mode::with_throughput().and_percentage(),
21− )
24+ ))
2225 }
2326
24−pub fn steps() -> Unit {
25− unit::dynamic(unit::Range::new("steps"))
27+pub fn steps() -> Option<Unit> {
28+ Some(unit::dynamic(unit::Range::new("steps")))
2629 }
2730
2831 /// A structure passing every 'read' call through to the contained Progress instance using `inc_by(bytes_read)`.

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