upgrades
This commit is contained in:
parent
43735163c9
commit
70ffa51c2f
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -2878,9 +2878,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde_json"
|
name = "serde_json"
|
||||||
version = "1.0.80"
|
version = "1.0.81"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "f972498cf015f7c0746cac89ebe1d6ef10c293b94175a243a2d9442c163d9944"
|
checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"itoa",
|
"itoa",
|
||||||
"ryu",
|
"ryu",
|
||||||
|
@ -21,7 +21,7 @@ regex = "1.5.5"
|
|||||||
reqwest = { version = "0.11.10", features = ["json", "rustls"] }
|
reqwest = { version = "0.11.10", features = ["json", "rustls"] }
|
||||||
rustc-hash = "1.1.0"
|
rustc-hash = "1.1.0"
|
||||||
serde = { version = "1.0.137", features = [] }
|
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"
|
toml = "0.5.9"
|
||||||
tracing = "0.1.34"
|
tracing = "0.1.34"
|
||||||
tracing-subscriber = "0.3.11"
|
tracing-subscriber = "0.3.11"
|
||||||
|
@ -9,6 +9,7 @@ use crate::Web3ProxyApp;
|
|||||||
#[derive(Deserialize)]
|
#[derive(Deserialize)]
|
||||||
pub struct RootConfig {
|
pub struct RootConfig {
|
||||||
pub config: Web3ProxyConfig,
|
pub config: Web3ProxyConfig,
|
||||||
|
// BTreeMap so that iterating keeps the same order
|
||||||
pub balanced_rpc_tiers: BTreeMap<String, HashMap<String, Web3ConnectionConfig>>,
|
pub balanced_rpc_tiers: BTreeMap<String, HashMap<String, Web3ConnectionConfig>>,
|
||||||
pub private_rpcs: HashMap<String, Web3ConnectionConfig>,
|
pub private_rpcs: HashMap<String, Web3ConnectionConfig>,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user