Skip to content

Commit c6350dc

Browse files
committed
Bump criterion to 0.5.1
.. as it previously depended on `atty`, yielding an audit warning due to RUSTSEC-2021-0145 https://rustsec.org/advisories/RUSTSEC-2021-0145.html
1 parent 5bf58f0 commit c6350dc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

bench/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ hashbrown = ["lightning/hashbrown"]
1515
lightning = { path = "../lightning", features = ["_test_utils", "criterion"] }
1616
lightning-persister = { path = "../lightning-persister", features = ["criterion"] }
1717
lightning-rapid-gossip-sync = { path = "../lightning-rapid-gossip-sync", features = ["criterion"] }
18-
criterion = { version = "0.4", default-features = false }
18+
criterion = { version = "0.5.1", default-features = false }
1919

2020
[profile.release]
2121
opt-level = 3

lightning-persister/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ lightning = { version = "0.0.121", path = "../lightning" }
2121
windows-sys = { version = "0.48.0", default-features = false, features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }
2222

2323
[target.'cfg(ldk_bench)'.dependencies]
24-
criterion = { version = "0.4", optional = true, default-features = false }
24+
criterion = { version = "0.5.1", optional = true, default-features = false }
2525

2626
[dev-dependencies]
2727
lightning = { version = "0.0.121", path = "../lightning", features = ["_test_utils"] }

lightning-rapid-gossip-sync/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ lightning = { version = "0.0.121", path = "../lightning", default-features = fal
1919
bitcoin = { version = "0.30.2", default-features = false }
2020

2121
[target.'cfg(ldk_bench)'.dependencies]
22-
criterion = { version = "0.4", optional = true, default-features = false }
22+
criterion = { version = "0.5.1", optional = true, default-features = false }
2323

2424
[dev-dependencies]
2525
lightning = { version = "0.0.121", path = "../lightning", features = ["_test_utils"] }

lightning/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ default-features = false
5959
features = ["bitcoinconsensus", "secp-recovery"]
6060

6161
[target.'cfg(ldk_bench)'.dependencies]
62-
criterion = { version = "0.4", optional = true, default-features = false }
62+
criterion = { version = "0.5.1", optional = true, default-features = false }
6363

6464
[target.'cfg(taproot)'.dependencies]
6565
musig2 = { git = "https://github.com/arik-so/rust-musig2", rev = "cff11e3" }

0 commit comments

Comments
 (0)