Skip to content

Commit

Permalink
Update to lazy_static 1.5.0
Browse files Browse the repository at this point in the history
Requires a git dependency due to
rust-lang-nursery/lazy-static.rs#201.

Justified due to bumping the internally spin to 0.9 (containing a bug fix for
0.9 in general (rust-lang-nursery/lazy-static.rs#199)),
surpassing 0.7 (offering performance
(rust-lang-nursery/lazy-static.rs#182)).
  • Loading branch information
kayabaNerve committed Oct 16, 2023
1 parent 1a3b600 commit 1f5b1bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
1 change: 1 addition & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1f5b1bb

Please sign in to comment.