Skip to content

Commit f0586c0

Browse files
committed
Merge #130: Drop default features for zip
4f228e8 Drop default features for `zip` (Elias Rohrer) Pull request description: .. and in particular the ancient `time` dependency, which suffers from `RUSTSEC-2020-0071`. (we recently started getting `cargo audit` reports related to this: lightningdevkit/ldk-node#523) ACKs for top commit: tcharding: ACK 4f228e8 Tree-SHA512: 25b834ddd8545a95dc72eaef37d89d24ff82f6e9d3a9af8bac84b775503912ef6996ccf55276fa720d7718a99d460c8a85a5cb0a99e196a0041beed4c4464705
2 parents c979a8d + 4f228e8 commit f0586c0

File tree

3 files changed

+3
-39
lines changed

3 files changed

+3
-39
lines changed

Cargo-minimal.lock

+1-19
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
254254
dependencies = [
255255
"cfg-if",
256256
"libc",
257-
"wasi 0.11.0+wasi-snapshot-preview1",
257+
"wasi",
258258
]
259259

260260
[[package]]
@@ -576,17 +576,6 @@ dependencies = [
576576
"syn",
577577
]
578578

579-
[[package]]
580-
name = "time"
581-
version = "0.1.45"
582-
source = "registry+https://github.com/rust-lang/crates.io-index"
583-
checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a"
584-
dependencies = [
585-
"libc",
586-
"wasi 0.10.0+wasi-snapshot-preview1",
587-
"winapi",
588-
]
589-
590579
[[package]]
591580
name = "unicode-ident"
592581
version = "1.0.8"
@@ -599,12 +588,6 @@ version = "0.9.0"
599588
source = "registry+https://github.com/rust-lang/crates.io-index"
600589
checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
601590

602-
[[package]]
603-
name = "wasi"
604-
version = "0.10.0+wasi-snapshot-preview1"
605-
source = "registry+https://github.com/rust-lang/crates.io-index"
606-
checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
607-
608591
[[package]]
609592
name = "wasi"
610593
version = "0.11.0+wasi-snapshot-preview1"
@@ -752,5 +735,4 @@ dependencies = [
752735
"crc32fast",
753736
"flate2",
754737
"thiserror",
755-
"time",
756738
]

Cargo-recent.lock

+1-19
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
254254
dependencies = [
255255
"cfg-if",
256256
"libc",
257-
"wasi 0.11.0+wasi-snapshot-preview1",
257+
"wasi",
258258
]
259259

260260
[[package]]
@@ -583,17 +583,6 @@ dependencies = [
583583
"syn",
584584
]
585585

586-
[[package]]
587-
name = "time"
588-
version = "0.1.45"
589-
source = "registry+https://github.com/rust-lang/crates.io-index"
590-
checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a"
591-
dependencies = [
592-
"libc",
593-
"wasi 0.10.0+wasi-snapshot-preview1",
594-
"winapi",
595-
]
596-
597586
[[package]]
598587
name = "unicode-ident"
599588
version = "1.0.16"
@@ -606,12 +595,6 @@ version = "0.9.0"
606595
source = "registry+https://github.com/rust-lang/crates.io-index"
607596
checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
608597

609-
[[package]]
610-
name = "wasi"
611-
version = "0.10.0+wasi-snapshot-preview1"
612-
source = "registry+https://github.com/rust-lang/crates.io-index"
613-
checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
614-
615598
[[package]]
616599
name = "wasi"
617600
version = "0.11.0+wasi-snapshot-preview1"
@@ -759,5 +742,4 @@ dependencies = [
759742
"crc32fast",
760743
"flate2",
761744
"thiserror",
762-
"time",
763745
]

node/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ bitcoin_hashes = { version = ">= 0.13, <= 0.14", optional = true }
2929
flate2 = { version = "1.0", optional = true }
3030
tar = { version = "0.4", optional = true }
3131
minreq = { version = "2.9.1", default-features = false, features = ["https"], optional = true }
32-
zip = { version = "0.5.13", optional = true }
32+
zip = { version = "0.5.13", default-features = false, features = ["bzip2", "deflate"], optional = true }
3333

3434
# Please note, it is expected that a single version feature will be enabled however if you enable
3535
# multiple the highest version number will take precedence.

0 commit comments

Comments
 (0)