From 70ffa51c2f06bd4f171ec011af02522714551464 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 4 May 2022 06:06:34 +0000 Subject: [PATCH] upgrades --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- src/config.rs | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a13f2d55..116e2655 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2878,9 +2878,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.80" +version = "1.0.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f972498cf015f7c0746cac89ebe1d6ef10c293b94175a243a2d9442c163d9944" +checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c" dependencies = [ "itoa", "ryu", diff --git a/Cargo.toml b/Cargo.toml index 08cff05a..9e7def07 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ regex = "1.5.5" reqwest = { version = "0.11.10", features = ["json", "rustls"] } rustc-hash = "1.1.0" serde = { version = "1.0.137", features = [] } -serde_json = { version = "1.0.80", default-features = false, features = ["alloc"] } +serde_json = { version = "1.0.81", default-features = false, features = ["alloc"] } toml = "0.5.9" tracing = "0.1.34" tracing-subscriber = "0.3.11" diff --git a/src/config.rs b/src/config.rs index 4ed24a8a..8e391266 100644 --- a/src/config.rs +++ b/src/config.rs @@ -9,6 +9,7 @@ use crate::Web3ProxyApp; #[derive(Deserialize)] pub struct RootConfig { pub config: Web3ProxyConfig, + // BTreeMap so that iterating keeps the same order pub balanced_rpc_tiers: BTreeMap>, pub private_rpcs: HashMap, }