Skip to content

Commit

Permalink
build(deps): Bump indexmap, toml and serde_json (#7100)
Browse files Browse the repository at this point in the history
* bump toml, indexmap and serde_json all together

* add duplicated indexmap dep to deny.toml
  • Loading branch information
oxarbitrage authored Jun 29, 2023
1 parent 256e4cd commit 455779c
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 37 deletions.
65 changes: 41 additions & 24 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1333,6 +1333,12 @@ dependencies = [
"byteorder",
]

[[package]]
name = "equivalent"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "88bffebc5d80432c9b140ee17875ff173a8ab62faad5b257da912bd2f6c1c0a1"

[[package]]
name = "errno"
version = "0.3.1"
Expand Down Expand Up @@ -1681,7 +1687,7 @@ dependencies = [
"futures-sink",
"futures-util",
"http",
"indexmap",
"indexmap 1.9.3",
"slab",
"tokio",
"tokio-util 0.7.8",
Expand Down Expand Up @@ -2060,6 +2066,17 @@ dependencies = [
"serde",
]

[[package]]
name = "indexmap"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d"
dependencies = [
"equivalent",
"hashbrown 0.14.0",
"serde",
]

[[package]]
name = "indicatif"
version = "0.17.5"
Expand Down Expand Up @@ -2494,7 +2511,7 @@ checksum = "8a4964177ddfdab1e3a2b37aec7cf320e14169abb0ed73999f558136409178d5"
dependencies = [
"base64 0.21.2",
"hyper",
"indexmap",
"indexmap 1.9.3",
"ipnet",
"metrics 0.21.0",
"metrics-util",
Expand Down Expand Up @@ -3057,7 +3074,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4"
dependencies = [
"fixedbitset",
"indexmap",
"indexmap 1.9.3",
]

[[package]]
Expand Down Expand Up @@ -4073,21 +4090,21 @@ dependencies = [

[[package]]
name = "serde_json"
version = "1.0.97"
version = "1.0.99"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bdf3bf93142acad5821c99197022e170842cdbc1c30482b98750c688c640842a"
checksum = "46266871c240a00b8f503b877622fe33430b3c7d963bdc0f2adc511e54a1eae3"
dependencies = [
"indexmap",
"indexmap 2.0.0",
"itoa",
"ryu",
"serde",
]

[[package]]
name = "serde_spanned"
version = "0.6.2"
version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "93107647184f6027e3b7dcb2e11034cf95ffa1e3a682c67951963ac69c1c007d"
checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186"
dependencies = [
"serde",
]
Expand Down Expand Up @@ -4123,7 +4140,7 @@ dependencies = [
"base64 0.21.2",
"chrono",
"hex",
"indexmap",
"indexmap 1.9.3",
"serde",
"serde_json",
"serde_with_macros 3.0.0",
Expand Down Expand Up @@ -4632,9 +4649,9 @@ dependencies = [

[[package]]
name = "toml"
version = "0.7.4"
version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d6135d499e69981f9ff0ef2167955a5333c35e36f6937d382974566b3d5b94ec"
checksum = "1ebafdf5ad1220cb59e7d17cf4d2c72015297b75b19a10472f99b89225089240"
dependencies = [
"serde",
"serde_spanned",
Expand All @@ -4644,20 +4661,20 @@ dependencies = [

[[package]]
name = "toml_datetime"
version = "0.6.2"
version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f"
checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b"
dependencies = [
"serde",
]

[[package]]
name = "toml_edit"
version = "0.19.10"
version = "0.19.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2380d56e8670370eee6566b0bfd4265f65b3f432e8c6d85623f728d4fa31f739"
checksum = "266f016b7f039eec8a1a80dfe6156b633d208b9fccca5e4db1d6775b0c4e34a7"
dependencies = [
"indexmap",
"indexmap 2.0.0",
"serde",
"serde_spanned",
"toml_datetime",
Expand Down Expand Up @@ -4714,7 +4731,7 @@ dependencies = [
"futures-core",
"futures-util",
"hdrhistogram",
"indexmap",
"indexmap 1.9.3",
"pin-project",
"pin-project-lite",
"rand 0.8.5",
Expand Down Expand Up @@ -5773,7 +5790,7 @@ dependencies = [
"hex",
"howudoin",
"humantime-serde",
"indexmap",
"indexmap 2.0.0",
"itertools 0.11.0",
"lazy_static",
"metrics 0.21.0",
Expand All @@ -5792,7 +5809,7 @@ dependencies = [
"tokio",
"tokio-stream",
"tokio-util 0.7.8",
"toml 0.7.4",
"toml 0.7.5",
"tower",
"tracing",
"tracing-error",
Expand Down Expand Up @@ -5821,7 +5838,7 @@ dependencies = [
"futures",
"hex",
"hyper",
"indexmap",
"indexmap 2.0.0",
"insta",
"jsonrpc-core",
"jsonrpc-derive",
Expand Down Expand Up @@ -5871,7 +5888,7 @@ dependencies = [
"halo2_proofs",
"hex",
"howudoin",
"indexmap",
"indexmap 2.0.0",
"insta",
"itertools 0.11.0",
"jubjub",
Expand Down Expand Up @@ -5908,7 +5925,7 @@ dependencies = [
"futures",
"hex",
"humantime",
"indexmap",
"indexmap 2.0.0",
"insta",
"lazy_static",
"once_cell",
Expand Down Expand Up @@ -5964,7 +5981,7 @@ dependencies = [
"howudoin",
"humantime-serde",
"hyper",
"indexmap",
"indexmap 2.0.0",
"indicatif",
"inferno",
"jsonrpc-core",
Expand All @@ -5990,7 +6007,7 @@ dependencies = [
"tinyvec",
"tokio",
"tokio-stream",
"toml 0.7.4",
"toml 0.7.5",
"tonic",
"tonic-build",
"tower",
Expand Down
3 changes: 3 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ skip-tree = [
# wait for backtrace and multiple dependents to upgrade
{ name = "miniz_oxide", version = "=0.6.2" },

# wait for h2 and tower to upgrade
{ name = "indexmap", version = "=1.9.3" },

# ZF crates

# wait for zcashd and zcash_script to upgrade
Expand Down
2 changes: 1 addition & 1 deletion zebra-chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ redjubjub = "0.7.0"
reddsa = "0.5.0"

# Production feature json-conversion
serde_json = { version = "1.0.97", optional = true }
serde_json = { version = "1.0.99", optional = true }

# Experimental feature getblocktemplate-rpcs
zcash_address = { version = "0.2.1", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions zebra-network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ chrono = { version = "0.4.26", default-features = false, features = ["clock", "s
dirs = "5.0.1"
hex = "0.4.3"
humantime-serde = "1.1.1"
indexmap = { version = "1.9.3", features = ["serde"] }
indexmap = { version = "2.0.0", features = ["serde"] }
itertools = "0.11.0"
lazy_static = "1.4.0"
num-integer = "0.1.45"
Expand Down Expand Up @@ -91,7 +91,7 @@ proptest-derive = "0.3.0"

static_assertions = "1.1.0"
tokio = { version = "1.28.2", features = ["full", "tracing", "test-util"] }
toml = "0.7.4"
toml = "0.7.5"

zebra-chain = { path = "../zebra-chain", features = ["proptest-impl"] }
zebra-test = { path = "../zebra-test/" }
2 changes: 1 addition & 1 deletion zebra-node-services/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jsonrpc-core = { version = "18.0.0", optional = true }
# Security: avoid default dependency on openssl
reqwest = { version = "0.11.18", default-features = false, features = ["rustls-tls"], optional = true }
serde = { version = "1.0.164", optional = true }
serde_json = { version = "1.0.97", optional = true }
serde_json = { version = "1.0.99", optional = true }

[dev-dependencies]

Expand Down
4 changes: 2 additions & 2 deletions zebra-rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jsonrpc-http-server = "18.0.0"
num_cpus = "1.15.0"

# zebra-rpc needs the preserve_order feature in serde_json, which is a dependency of jsonrpc-core
serde_json = { version = "1.0.97", features = ["preserve_order"] }
indexmap = { version = "1.9.3", features = ["serde"] }
serde_json = { version = "1.0.99", features = ["preserve_order"] }
indexmap = { version = "2.0.0", features = ["serde"] }

tokio = { version = "1.28.2", features = ["time", "rt-multi-thread", "macros", "tracing"] }
tower = "0.4.13"
Expand Down
4 changes: 2 additions & 2 deletions zebra-state/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ chrono = { version = "0.4.26", default-features = false, features = ["clock", "s
dirs = "5.0.1"
futures = "0.3.28"
hex = "0.4.3"
indexmap = "1.9.3"
indexmap = "2.0.0"
itertools = "0.11.0"
lazy_static = "1.4.0"
metrics = "0.21.0"
Expand All @@ -69,7 +69,7 @@ tracing = "0.1.37"
# elasticsearch specific dependencies.
# Security: avoid default dependency on openssl
elasticsearch = { version = "8.5.0-alpha.1", default-features = false, features = ["rustls-tls"], optional = true }
serde_json = { version = "1.0.97", package = "serde_json", optional = true }
serde_json = { version = "1.0.99", package = "serde_json", optional = true }

zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.26" }

Expand Down
2 changes: 1 addition & 1 deletion zebra-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ categories = ["command-line-utilities", "cryptography::cryptocurrencies"]

[dependencies]
hex = "0.4.3"
indexmap = "1.9.3"
indexmap = "2.0.0"
lazy_static = "1.4.0"
insta = "1.30.0"
proptest = "1.2.0"
Expand Down
2 changes: 1 addition & 1 deletion zebra-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ tinyvec = { version = "1.6.0", features = ["rustc_1_55"] }

structopt = "0.3.26"
hex = "0.4.3"
serde_json = "1.0.97"
serde_json = "1.0.99"
tracing-error = "0.2.0"
tracing-subscriber = "0.3.17"
thiserror = "1.0.40"
Expand Down
6 changes: 3 additions & 3 deletions zebrad/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ abscissa_core = "0.7.0"
clap = { version = "4.3.8", features = ["cargo"] }
chrono = { version = "0.4.26", default-features = false, features = ["clock", "std"] }
humantime-serde = "1.1.1"
indexmap = "1.9.3"
indexmap = "2.0.0"
lazy_static = "1.4.0"
semver = "1.0.17"
serde = { version = "1.0.164", features = ["serde_derive"] }
toml = "0.7.4"
toml = "0.7.5"

futures = "0.3.28"
rayon = "1.7.0"
Expand Down Expand Up @@ -221,7 +221,7 @@ once_cell = "1.18.0"
regex = "1.8.4"

# zebra-rpc needs the preserve_order feature, it also makes test results more stable
serde_json = { version = "1.0.97", features = ["preserve_order"] }
serde_json = { version = "1.0.99", features = ["preserve_order"] }
tempfile = "3.5.0"

hyper = { version = "0.14.27", features = ["http1", "http2", "server"]}
Expand Down

0 comments on commit 455779c

Please sign in to comment.