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
93 93
94[[package]]94[[package]]
95name = "async-io"95name = "async-io"
96version = "0.1.9"96version = "0.1.11"
97source = "registry+https://github.com/rust-lang/crates.io-index"97source = "registry+https://github.com/rust-lang/crates.io-index"
98checksum = "6a679dff790f7943b4ddd12cf2d00cdadf3db0cb3a370eb2c77723343354e147"98checksum = "3ae22a338d28c75b53702b66f77979062cb29675db376d99e451af4fa79dedb3"
99dependencies = [99dependencies = [
100 "cfg-if",100 "cfg-if",
101 "concurrent-queue",101 "concurrent-queue",
102 "futures-lite",102 "futures-lite",
103 "libc",103 "libc",
104 "once_cell",104 "once_cell",
105 "parking",105 "parking 2.0.0",
106 "polling",
106 "socket2",107 "socket2",
107 "vec-arena",108 "vec-arena",
108 "wepoll-sys-stjepang",109 "wepoll-sys-stjepang",
@@ -272,9 +273,9 @@ checksum = "f3f6d59c71e7dc3af60f0af9db32364d96a16e9310f3f5db2b55ed642162dd35" · 163 unmodified lines
272 273
273[[package]]274[[package]]
274name = "concurrent-queue"275name = "concurrent-queue"
275version = "1.2.0"276version = "1.2.2"
276source = "registry+https://github.com/rust-lang/crates.io-index"277source = "registry+https://github.com/rust-lang/crates.io-index"
277checksum = "e296417c8154304ac70aceda41f05318f986f7c0c767bcb0a2366fbb890e78e1"278checksum = "30ed07550be01594c6026cff2a1d7fe9c8f683caa798e12b68694ac9e88286a3"
278dependencies = [279dependencies = [
279 "cache-padded",280 "cache-padded",
280]281]
@@ -439,12 +440,13 @@ dependencies = [ · 158 unmodified lines
439 440
440[[package]]441[[package]]
441name = "dashmap"442name = "dashmap"
442version = "3.11.9"443version = "3.11.10"
443source = "registry+https://github.com/rust-lang/crates.io-index"444source = "registry+https://github.com/rust-lang/crates.io-index"
444checksum = "2ad86b725566cbbf4c0cb01a17bfd1c9ad1830786a02dfc11c380b21b08f02ed"445checksum = "0f260e2fc850179ef410018660006951c1b55b79e8087e87111a2c388994b9b5"
445dependencies = [446dependencies = [
446 "ahash",447 "ahash",
447 "cfg-if",448 "cfg-if",
449 "num_cpus",
448]450]
449 451
450[[package]]452[[package]]
@@ -470,9 +472,9 @@ checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" · 19 unmodified lines
470 472
471[[package]]473[[package]]
472name = "either"474name = "either"
473version = "1.5.3"475version = "1.6.0"
474source = "registry+https://github.com/rust-lang/crates.io-index"476source = "registry+https://github.com/rust-lang/crates.io-index"
475checksum = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3"477checksum = "cd56b59865bce947ac5958779cfa508f6c3b9497cc762b7e24a12d11ccde2c4f"
476 478
477[[package]]479[[package]]
478name = "env_logger"480name = "env_logger"
@@ -488,15 +490,15 @@ dependencies = [ · 9 unmodified lines
488 490
489[[package]]491[[package]]
490name = "event-listener"492name = "event-listener"
491version = "2.3.0"493version = "2.3.3"
492source = "registry+https://github.com/rust-lang/crates.io-index"494source = "registry+https://github.com/rust-lang/crates.io-index"
493checksum = "298f00c3b04c1d9b4cb86aefaaa35348af0957d98b30a5306fc635f8e718923d"495checksum = "7f14646a9e0430150a87951622ba9675472b68e384b7701b8423b30560805c7a"
494 496
495[[package]]497[[package]]
496name = "fastrand"498name = "fastrand"
497version = "1.3.3"499version = "1.3.4"
498source = "registry+https://github.com/rust-lang/crates.io-index"500source = "registry+https://github.com/rust-lang/crates.io-index"
499checksum = "36a9cb09840f81cd211e435d00a4e487edd263dc3c8ff815c32dd76ad668ebed"501checksum = "4bd3bdaaf0a72155260a1c098989b60db1cbb22d6a628e64f16237aa4da93cc7"
500 502
501[[package]]503[[package]]
502name = "filebuffer"504name = "filebuffer"
@@ -551,7 +553,7 @@ dependencies = [ · 48 unmodified lines
551 "futures-core",553 "futures-core",
552 "futures-io",554 "futures-io",
553 "memchr",555 "memchr",
554 "parking",556 "parking 1.0.6",
555 "pin-project-lite",557 "pin-project-lite",
556 "waker-fn",558 "waker-fn",
557]559]
@@ -586,9 +588,9 @@ dependencies = [ · 28 unmodified lines
586 588
587[[package]]589[[package]]
588name = "generic-array"590name = "generic-array"
589version = "0.14.3"591version = "0.14.4"
590source = "registry+https://github.com/rust-lang/crates.io-index"592source = "registry+https://github.com/rust-lang/crates.io-index"
591checksum = "60fb4bb6bba52f78a471264d9a3b7d026cc0af47b22cd2cffbc0b787ca003e63"593checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817"
592dependencies = [594dependencies = [
593 "typenum",595 "typenum",
594 "version_check",596 "version_check",
@@ -724,9 +726,9 @@ dependencies = [ · 129 unmodified lines
724 726
725[[package]]727[[package]]
726name = "hashbrown"728name = "hashbrown"
727version = "0.8.1"729version = "0.8.2"
728source = "registry+https://github.com/rust-lang/crates.io-index"730source = "registry+https://github.com/rust-lang/crates.io-index"
729checksum = "34f595585f103464d8d2f6e9864682d74c1601fed5e07d62b1c9058dba8246fb"731checksum = "e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25"
730dependencies = [732dependencies = [
731 "autocfg",733 "autocfg",
732]734]
@@ -778,9 +780,9 @@ checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a" · 45 unmodified lines
778 780
779[[package]]781[[package]]
780name = "indexmap"782name = "indexmap"
781version = "1.5.0"783version = "1.5.1"
782source = "registry+https://github.com/rust-lang/crates.io-index"784source = "registry+https://github.com/rust-lang/crates.io-index"
783checksum = "5b88cd59ee5f71fea89a62248fc8f387d44400cefe05ef548466d61ced9029a7"785checksum = "86b45e59b16c76b11bf9738fd5d38879d3bd28ad292d7b313608becb17ae2df9"
784dependencies = [786dependencies = [
785 "autocfg",787 "autocfg",
786 "hashbrown",788 "hashbrown",
@@ -981,6 +983,12 @@ version = "1.0.6" · 194 unmodified lines
981source = "registry+https://github.com/rust-lang/crates.io-index"983source = "registry+https://github.com/rust-lang/crates.io-index"
982checksum = "6cb300f271742d4a2a66c01b6b2fa0c83dfebd2e0bf11addb879a3547b4ed87c"984checksum = "6cb300f271742d4a2a66c01b6b2fa0c83dfebd2e0bf11addb879a3547b4ed87c"
983 985
986[[package]]
987name = "parking"
988version = "2.0.0"
989source = "registry+https://github.com/rust-lang/crates.io-index"
990checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"
991
984[[package]]992[[package]]
985name = "parking_lot"993name = "parking_lot"
986version = "0.10.2"994version = "0.10.2"
@@ -1063,6 +1071,18 @@ version = "0.1.0" · 76 unmodified lines
1063source = "registry+https://github.com/rust-lang/crates.io-index"1071source = "registry+https://github.com/rust-lang/crates.io-index"
1064checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"1072checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
1065 1073
1074[[package]]
1075name = "polling"
1076version = "0.1.2"
1077source = "registry+https://github.com/rust-lang/crates.io-index"
1078checksum = "c134fc4b7c9b673e3002cbcdc07ccf84c50205e29a32f7ebe660095865514de3"
1079dependencies = [
1080 "cfg-if",
1081 "libc",
1082 "wepoll-sys-stjepang",
1083 "winapi",
1084]
1085
1066[[package]]1086[[package]]
1067name = "ppv-lite86"1087name = "ppv-lite86"
1068version = "0.2.8"1088version = "0.2.8"
@@ -1124,9 +1144,9 @@ dependencies = [ · 55 unmodified lines
1124 1144
1125[[package]]1145[[package]]
1126name = "prodash"1146name = "prodash"
1127version = "8.0.0"1147version = "8.0.1"
1128source = "registry+https://github.com/rust-lang/crates.io-index"1148source = "registry+https://github.com/rust-lang/crates.io-index"
1129checksum = "7959e0ebe1ff13ae08d5125cd6dbef2e8856f14f7677bca7800985e7a31b73c3"1149checksum = "cfa979760b5dcdf8bac786172dde6e71224cd27de35a21e4f16dcfab8babf534"
1130dependencies = [1150dependencies = [
1131 "async-io",1151 "async-io",
1132 "bytesize",1152 "bytesize",
@@ -1303,18 +1323,18 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" · 170 unmodified lines
1303 1323
1304[[package]]1324[[package]]
1305name = "serde"1325name = "serde"
1306version = "1.0.114"1326version = "1.0.115"
1307source = "registry+https://github.com/rust-lang/crates.io-index"1327source = "registry+https://github.com/rust-lang/crates.io-index"
1308checksum = "5317f7588f0a5078ee60ef675ef96735a1442132dc645eb1d12c018620ed8cd3"1328checksum = "e54c9a88f2da7238af84b5101443f0c0d0a3bbdc455e34a5c9497b1903ed55d5"
1309dependencies = [1329dependencies = [
1310 "serde_derive",1330 "serde_derive",
1311]1331]
1312 1332
1313[[package]]1333[[package]]
1314name = "serde_derive"1334name = "serde_derive"
1315version = "1.0.114"1335version = "1.0.115"
1316source = "registry+https://github.com/rust-lang/crates.io-index"1336source = "registry+https://github.com/rust-lang/crates.io-index"
1317checksum = "2a0be94b04690fbaed37cddffc5c134bf537c8e3329d53e982fe04c374978f8e"1337checksum = "609feed1d0a73cc36a0182a840a9b37b4a82f0b1150369f0536a9e3f2a31dc48"
1318dependencies = [1338dependencies = [
1319 "proc-macro2",1339 "proc-macro2",
1320 "quote",1340 "quote",
@@ -1364,9 +1384,9 @@ dependencies = [ · 43 unmodified lines
1364 1384
1365[[package]]1385[[package]]
1366name = "signal-hook-registry"1386name = "signal-hook-registry"
1367version = "1.2.0"1387version = "1.2.1"
1368source = "registry+https://github.com/rust-lang/crates.io-index"1388source = "registry+https://github.com/rust-lang/crates.io-index"
1369checksum = "94f478ede9f64724c5d173d7bb56099ec3e2d9fc2774aac65d34b8b890405f41"1389checksum = "a3e12110bc539e657a646068aaf5eb5b63af9d0c1f7b29c97113fad80e15f035"
1370dependencies = [1390dependencies = [
1371 "arc-swap",1391 "arc-swap",
1372 "libc",1392 "libc",
@@ -1465,9 +1485,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" · 92 unmodified lines
1465 1485
1466[[package]]1486[[package]]
1467name = "syn"1487name = "syn"
1468version = "1.0.37"1488version = "1.0.38"
1469source = "registry+https://github.com/rust-lang/crates.io-index"1489source = "registry+https://github.com/rust-lang/crates.io-index"
1470checksum = "239f255b9e3429350f188c27b807fc9920a15eb9145230ff1a7d054c08fec319"1490checksum = "e69abc24912995b3038597a7a593be5053eb0fb44f3cc5beec0deb421790c1f4"
1471dependencies = [1491dependencies = [
1472 "proc-macro2",1492 "proc-macro2",
1473 "quote",1493 "quote",
git-features/src/progress/mod.rs+10−7
@@ -3,12 +3,15 @@ use std::io; · 2 unmodified lines
3pub use prodash::progress::{Discard, DoOrDiscard, Either, ThroughputOnDrop};3pub use prodash::progress::{Discard, DoOrDiscard, Either, ThroughputOnDrop};
4pub use prodash::{unit, Progress, Unit};4pub use prodash::{unit, Progress, Unit};
5 5
6pub fn bytes() -> Unit {6pub fn bytes() -> Option<Unit> {
7 unit::dynamic_and_mode(unit::Bytes, unit::display::Mode::with_throughput().and_percentage())7 Some(unit::dynamic_and_mode(
8 unit::Bytes,
9 unit::display::Mode::with_throughput().and_percentage(),
10 ))
8}11}
9 12
10pub fn count(name: &'static str) -> Unit {13pub fn count(name: &'static str) -> Option<Unit> {
11 unit::dynamic_and_mode(14 Some(unit::dynamic_and_mode(
12 unit::Human::new(15 unit::Human::new(
13 {16 {
14 let mut f = unit::human::Formatter::new();17 let mut f = unit::human::Formatter::new();
@@ -18,11 +21,11 @@ pub fn count(name: &'static str) -> Unit { · 3 unmodified lines
18 name,21 name,
19 ),22 ),
20 unit::display::Mode::with_throughput().and_percentage(),23 unit::display::Mode::with_throughput().and_percentage(),
21 )24 ))
22}25}
23 26
24pub fn steps() -> Unit {27pub fn steps() -> Option<Unit> {
25 unit::dynamic(unit::Range::new("steps"))28 Some(unit::dynamic(unit::Range::new("steps")))
26}29}
27 30
28/// A structure passing every 'read' call through to the contained Progress instance using `inc_by(bytes_read)`.31/// 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