mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Update to lazy_static 1.5.0
Requires a git dependency due to https://github.com/rust-lang-nursery/lazy-static.rs/issues/201. Justified due to bumping the internally spin to 0.9 (containing a bug fix for 0.9 in general (https://github.com/rust-lang-nursery/lazy-static.rs/pull/199)), surpassing 0.7 (offering performance (https://github.com/rust-lang-nursery/lazy-static.rs/pull/182)).
This commit is contained in:
7
Cargo.lock
generated
7
Cargo.lock
generated
@@ -3936,11 +3936,10 @@ checksum = "3f35c735096c0293d313e8f2a641627472b83d01b937177fe76e5e2708d31e0d"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lazy_static"
|
name = "lazy_static"
|
||||||
version = "1.4.0"
|
version = "1.5.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "git+https://github.com/rust-lang-nursery/lazy-static.rs?rev=5735630d46572f1e5377c8f2ba0f79d18f53b10c#5735630d46572f1e5377c8f2ba0f79d18f53b10c"
|
||||||
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"spin 0.5.2",
|
"spin 0.9.8",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|||||||
@@ -86,6 +86,9 @@ monero-serai = { opt-level = 3 }
|
|||||||
panic = "unwind"
|
panic = "unwind"
|
||||||
|
|
||||||
[patch.crates-io]
|
[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
|
# 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-core-hashing = { git = "https://github.com/serai-dex/substrate" }
|
||||||
sp-std = { git = "https://github.com/serai-dex/substrate" }
|
sp-std = { git = "https://github.com/serai-dex/substrate" }
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ unknown-registry = "deny"
|
|||||||
unknown-git = "deny"
|
unknown-git = "deny"
|
||||||
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
||||||
allow-git = [
|
allow-git = [
|
||||||
|
"https://github.com/rust-lang-nursery/lazy-static.rs",
|
||||||
"https://github.com/serai-dex/substrate-bip39",
|
"https://github.com/serai-dex/substrate-bip39",
|
||||||
"https://github.com/serai-dex/substrate",
|
"https://github.com/serai-dex/substrate",
|
||||||
"https://github.com/monero-rs/base58-monero",
|
"https://github.com/monero-rs/base58-monero",
|
||||||
|
|||||||
Reference in New Issue
Block a user