diff --git a/Cargo.lock b/Cargo.lock index 99a214998..b08054911 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3936,11 +3936,10 @@ checksum = "3f35c735096c0293d313e8f2a641627472b83d01b937177fe76e5e2708d31e0d" [[package]] name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +version = "1.5.0" +source = "git+https://github.com/rust-lang-nursery/lazy-static.rs?rev=5735630d46572f1e5377c8f2ba0f79d18f53b10c#5735630d46572f1e5377c8f2ba0f79d18f53b10c" dependencies = [ - "spin 0.5.2", + "spin 0.9.8", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 0cf22f314..41ec781f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -86,6 +86,9 @@ monero-serai = { opt-level = 3 } panic = "unwind" [patch.crates-io] +# https://github.com/rust-lang-nursery/lazy-static.rs/issues/201 +lazy_static = { git = "https://github.com/rust-lang-nursery/lazy-static.rs", rev = "5735630d46572f1e5377c8f2ba0f79d18f53b10c" } + # subxt *can* pull these off crates.io yet there's no benefit to this sp-core-hashing = { git = "https://github.com/serai-dex/substrate" } sp-std = { git = "https://github.com/serai-dex/substrate" } diff --git a/deny.toml b/deny.toml index 980f78c48..b02e4c877 100644 --- a/deny.toml +++ b/deny.toml @@ -96,6 +96,7 @@ unknown-registry = "deny" unknown-git = "deny" allow-registry = ["https://github.com/rust-lang/crates.io-index"] allow-git = [ + "https://github.com/rust-lang-nursery/lazy-static.rs", "https://github.com/serai-dex/substrate-bip39", "https://github.com/serai-dex/substrate", "https://github.com/monero-rs/base58-monero",