diff --git a/Cargo.lock b/Cargo.lock index 7c1f82c8..5630fc4a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -978,6 +978,51 @@ dependencies = [ "thiserror", ] +[[package]] +name = "axum" +version = "0.6.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" +dependencies = [ + "async-trait", + "axum-core", + "bitflags 1.3.2", + "bytes", + "futures-util", + "http", + "http-body", + "hyper", + "itoa", + "matchit", + "memchr", + "mime", + "percent-encoding", + "pin-project-lite", + "rustversion", + "serde", + "sync_wrapper", + "tower", + "tower-layer", + "tower-service", +] + +[[package]] +name = "axum-core" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c" +dependencies = [ + "async-trait", + "bytes", + "futures-util", + "http", + "http-body", + "mime", + "rustversion", + "tower-layer", + "tower-service", +] + [[package]] name = "backtrace" version = "0.3.69" @@ -2257,17 +2302,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "derive-enum-from-into" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adc2a1b7c0031fb651e9bc1fa4255da82747c187b9ac1dc36b3783d71fadd9d5" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "derive_arbitrary" version = "1.3.2" @@ -3391,17 +3425,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" -[[package]] -name = "idna" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" -dependencies = [ - "matches", - "unicode-bidi", - "unicode-normalization", -] - [[package]] name = "idna" version = "0.5.0" @@ -3482,9 +3505,9 @@ dependencies = [ "lapin", "near-client", "near-client-primitives", - "near-crypto 1.39.0", + "near-crypto 1.40.0-rc.1", "near-indexer", - "near-o11y 1.39.0", + "near-o11y 1.40.0-rc.1", "openssl-probe", "prometheus", "serde", @@ -3845,26 +3868,6 @@ version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" -[[package]] -name = "loupe" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b6a72dfa44fe15b5e76b94307eeb2ff995a8c5b283b55008940c02e0c5b634d" -dependencies = [ - "loupe-derive", - "rustversion", -] - -[[package]] -name = "loupe-derive" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0fbfc88337168279f2e9ae06e157cfed4efd3316e14dc96ed074d4f2e6c5952" -dependencies = [ - "quote", - "syn 1.0.109", -] - [[package]] name = "lru" version = "0.7.8" @@ -3923,10 +3926,10 @@ dependencies = [ ] [[package]] -name = "matches" -version = "0.1.10" +name = "matchit" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" +checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" [[package]] name = "maybe-async" @@ -4148,16 +4151,15 @@ dependencies = [ [[package]] name = "near-async" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix", - "derive-enum-from-into", "derive_more", "futures", - "near-o11y 1.39.0", + "near-async-derive", + "near-o11y 1.40.0-rc.1", "near-performance-metrics", - "near-primitives 1.39.0", "once_cell", "serde", "serde_json", @@ -4165,18 +4167,28 @@ dependencies = [ "tokio", ] +[[package]] +name = "near-async-derive" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.47", +] + [[package]] name = "near-cache" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "lru 0.7.8", ] [[package]] name = "near-chain" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix", "assert_matches", @@ -4184,30 +4196,36 @@ dependencies = [ "bytesize", "chrono", "crossbeam-channel", + "easy-ext", "enum-map", "itertools", "itoa", "lru 0.7.8", "near-async", "near-cache", - "near-chain-configs 1.39.0", + "near-chain-configs 1.40.0-rc.1", "near-chain-primitives", "near-client-primitives", - "near-crypto 1.39.0", + "near-crypto 1.40.0-rc.1", "near-epoch-manager", + "near-mainnet-res", "near-network", - "near-o11y 1.39.0", + "near-o11y 1.40.0-rc.1", + "near-parameters", "near-performance-metrics", "near-performance-metrics-macros", "near-pool", - "near-primitives 1.39.0", + "near-primitives 1.40.0-rc.1", "near-store", + "near-vm-runner", + "node-runtime", "num-rational", "once_cell", "rand 0.8.5", "rand_chacha 0.3.1", "rayon", "strum 0.24.1", + "tempfile", "thiserror", "tracing", "yansi", @@ -4237,64 +4255,66 @@ dependencies = [ [[package]] name = "near-chain-configs" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "anyhow", "bytesize", "chrono", "derive_more", - "near-config-utils 1.39.0", - "near-crypto 1.39.0", - "near-o11y 1.39.0", + "near-async", + "near-config-utils 1.40.0-rc.1", + "near-crypto 1.40.0-rc.1", + "near-o11y 1.40.0-rc.1", "near-parameters", - "near-primitives 1.39.0", + "near-primitives 1.40.0-rc.1", "num-rational", "once_cell", "serde", "serde_json", "sha2 0.10.8", "smart-default", + "time", "tracing", ] [[package]] name = "near-chain-primitives" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ - "chrono", - "near-crypto 1.39.0", - "near-primitives 1.39.0", + "near-async", + "near-crypto 1.40.0-rc.1", + "near-primitives 1.40.0-rc.1", "thiserror", + "time", "tracing", ] [[package]] name = "near-chunks" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix", "borsh 1.3.0", "chrono", - "derive-enum-from-into", "derive_more", "futures", "itertools", "lru 0.7.8", "near-async", "near-chain", - "near-chain-configs 1.39.0", + "near-chain-configs 1.40.0-rc.1", "near-chunks-primitives", - "near-crypto 1.39.0", + "near-crypto 1.40.0-rc.1", "near-epoch-manager", "near-network", - "near-o11y 1.39.0", + "near-o11y 1.40.0-rc.1", "near-performance-metrics", "near-performance-metrics-macros", "near-pool", - "near-primitives 1.39.0", + "near-primitives 1.40.0-rc.1", "near-store", "once_cell", "rand 0.8.5", @@ -4306,23 +4326,24 @@ dependencies = [ [[package]] name = "near-chunks-primitives" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "near-chain-primitives", - "near-primitives 1.39.0", + "near-primitives 1.40.0-rc.1", ] [[package]] name = "near-client" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix", "actix-rt", "anyhow", "async-trait", "borsh 1.3.0", + "bytesize", "chrono", "cloud-storage", "derive_more", @@ -4330,21 +4351,22 @@ dependencies = [ "itertools", "lru 0.7.8", "near-async", + "near-cache", "near-chain", - "near-chain-configs 1.39.0", + "near-chain-configs 1.40.0-rc.1", "near-chain-primitives", "near-chunks", "near-client-primitives", - "near-crypto 1.39.0", + "near-crypto 1.40.0-rc.1", "near-dyn-configs", "near-epoch-manager", "near-network", - "near-o11y 1.39.0", + "near-o11y 1.40.0-rc.1", "near-parameters", "near-performance-metrics", "near-performance-metrics-macros", "near-pool", - "near-primitives 1.39.0", + "near-primitives 1.40.0-rc.1", "near-store", "near-telemetry", "near-vm-runner", @@ -4370,20 +4392,22 @@ dependencies = [ [[package]] name = "near-client-primitives" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix", "chrono", - "near-chain-configs 1.39.0", + "near-async", + "near-chain-configs 1.40.0-rc.1", "near-chain-primitives", "near-chunks-primitives", - "near-crypto 1.39.0", - "near-primitives 1.39.0", + "near-crypto 1.40.0-rc.1", + "near-primitives 1.40.0-rc.1", "serde", "serde_json", "strum 0.24.1", "thiserror", + "time", "tracing", "yansi", ] @@ -4402,8 +4426,8 @@ dependencies = [ [[package]] name = "near-config-utils" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "anyhow", "json_comments", @@ -4466,23 +4490,21 @@ dependencies = [ [[package]] name = "near-crypto" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "blake2", "borsh 1.3.0", "bs58 0.4.0", - "c2-chacha", "curve25519-dalek 4.1.1", "derive_more", "ed25519-dalek 2.1.0", "hex", "near-account-id 1.0.0-alpha.4", - "near-config-utils 1.39.0", - "near-stdx 1.39.0", + "near-config-utils 1.40.0-rc.1", + "near-stdx 1.40.0-rc.1", "once_cell", "primitive-types 0.10.1", - "rand 0.7.3", "secp256k1", "serde", "serde_json", @@ -4492,13 +4514,14 @@ dependencies = [ [[package]] name = "near-dyn-configs" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "anyhow", - "near-chain-configs 1.39.0", - "near-o11y 1.39.0", - "near-primitives 1.39.0", + "near-async", + "near-chain-configs 1.40.0-rc.1", + "near-o11y 1.40.0-rc.1", + "near-primitives 1.40.0-rc.1", "once_cell", "prometheus", "serde", @@ -4510,18 +4533,20 @@ dependencies = [ [[package]] name = "near-epoch-manager" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "borsh 1.3.0", "itertools", "near-cache", - "near-chain-configs 1.39.0", + "near-chain-configs 1.40.0-rc.1", "near-chain-primitives", - "near-crypto 1.39.0", - "near-primitives 1.39.0", + "near-crypto 1.40.0-rc.1", + "near-o11y 1.40.0-rc.1", + "near-primitives 1.40.0-rc.1", "near-store", "num-rational", + "once_cell", "primitive-types 0.10.1", "rand 0.8.5", "rand_hc 0.3.2", @@ -4541,10 +4566,10 @@ dependencies = [ [[package]] name = "near-fmt" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ - "near-primitives-core 1.39.0", + "near-primitives-core 1.40.0-rc.1", ] [[package]] @@ -4560,21 +4585,21 @@ dependencies = [ [[package]] name = "near-indexer" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix", "anyhow", "futures", "lazy_static", - "near-chain-configs 1.39.0", + "near-chain-configs 1.40.0-rc.1", "near-client", - "near-crypto 1.39.0", + "near-crypto 1.40.0-rc.1", "near-dyn-configs", "near-indexer-primitives", - "near-o11y 1.39.0", + "near-o11y 1.40.0-rc.1", "near-parameters", - "near-primitives 1.39.0", + "near-primitives 1.40.0-rc.1", "near-store", "nearcore", "node-runtime", @@ -4588,35 +4613,37 @@ dependencies = [ [[package]] name = "near-indexer-primitives" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ - "near-primitives 1.39.0", + "near-primitives 1.40.0-rc.1", "serde", "serde_json", ] [[package]] name = "near-jsonrpc" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix", "actix-cors", "actix-web", "bs58 0.4.0", + "derive_more", "easy-ext", "futures", "hex", - "near-chain-configs 1.39.0", + "near-async", + "near-chain-configs 1.40.0-rc.1", "near-client", "near-client-primitives", - "near-jsonrpc-client 1.39.0", - "near-jsonrpc-primitives 1.39.0", + "near-jsonrpc-client 1.40.0-rc.1", + "near-jsonrpc-primitives 1.40.0-rc.1", "near-network", - "near-o11y 1.39.0", - "near-primitives 1.39.0", - "near-rpc-error-macro 1.39.0", + "near-o11y 1.40.0-rc.1", + "near-primitives 1.40.0-rc.1", + "near-rpc-error-macro 1.40.0-rc.1", "once_cell", "serde", "serde_json", @@ -4647,14 +4674,14 @@ dependencies = [ [[package]] name = "near-jsonrpc-client" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix-http", "awc", "futures", - "near-jsonrpc-primitives 1.39.0", - "near-primitives 1.39.0", + "near-jsonrpc-primitives 1.40.0-rc.1", + "near-primitives 1.40.0-rc.1", "serde", "serde_json", ] @@ -4677,40 +4704,40 @@ dependencies = [ [[package]] name = "near-jsonrpc-primitives" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "arbitrary", - "near-chain-configs 1.39.0", + "near-chain-configs 1.40.0-rc.1", "near-client-primitives", - "near-crypto 1.39.0", - "near-primitives 1.39.0", - "near-rpc-error-macro 1.39.0", + "near-crypto 1.40.0-rc.1", + "near-primitives 1.40.0-rc.1", + "near-rpc-error-macro 1.40.0-rc.1", "serde", "serde_json", "thiserror", + "time", ] [[package]] name = "near-mainnet-res" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "near-account-id 1.0.0-alpha.4", - "near-chain-configs 1.39.0", - "near-primitives 1.39.0", + "near-chain-configs 1.40.0-rc.1", + "near-primitives 1.40.0-rc.1", "serde_json", ] [[package]] name = "near-network" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix", "anyhow", "arc-swap", - "assert_matches", "async-trait", "borsh 1.3.0", "bytes", @@ -4724,24 +4751,23 @@ dependencies = [ "itertools", "lru 0.7.8", "near-async", - "near-crypto 1.39.0", - "near-fmt 1.39.0", - "near-o11y 1.39.0", + "near-crypto 1.40.0-rc.1", + "near-fmt 1.40.0-rc.1", + "near-o11y 1.40.0-rc.1", "near-performance-metrics", "near-performance-metrics-macros", - "near-primitives 1.39.0", - "near-stable-hasher", + "near-primitives 1.40.0-rc.1", "near-store", "once_cell", - "opentelemetry", + "opentelemetry 0.22.0", "parking_lot 0.12.1", "pin-project", "protobuf 3.3.0", "protobuf-codegen", "rand 0.8.5", - "rand_xorshift", "rayon", "serde", + "sha2 0.10.8", "smart-default", "strum 0.24.1", "stun", @@ -4765,9 +4791,9 @@ dependencies = [ "near-crypto 0.17.0", "near-primitives-core 0.17.0", "once_cell", - "opentelemetry", - "opentelemetry-otlp", - "opentelemetry-semantic-conventions", + "opentelemetry 0.17.0", + "opentelemetry-otlp 0.10.0", + "opentelemetry-semantic-conventions 0.9.0", "prometheus", "serde", "strum 0.24.1", @@ -4775,47 +4801,45 @@ dependencies = [ "tokio", "tracing", "tracing-appender", - "tracing-opentelemetry", + "tracing-opentelemetry 0.17.4", "tracing-subscriber", ] [[package]] name = "near-o11y" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix", "base64 0.21.5", "clap 4.4.11", - "near-crypto 1.39.0", - "near-fmt 1.39.0", - "near-primitives-core 1.39.0", + "near-crypto 1.40.0-rc.1", + "near-primitives-core 1.40.0-rc.1", "once_cell", - "opentelemetry", - "opentelemetry-otlp", - "opentelemetry-semantic-conventions", + "opentelemetry 0.22.0", + "opentelemetry-otlp 0.15.0", + "opentelemetry-semantic-conventions 0.14.0", + "opentelemetry_sdk", "prometheus", "serde", "serde_json", - "strum 0.24.1", "thiserror", "tokio", "tracing", "tracing-appender", - "tracing-opentelemetry", + "tracing-opentelemetry 0.23.0", "tracing-subscriber", ] [[package]] name = "near-parameters" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ - "assert_matches", "borsh 1.3.0", "enum-map", "near-account-id 1.0.0-alpha.4", - "near-primitives-core 1.39.0", + "near-primitives-core 1.40.0-rc.1", "num-rational", "serde", "serde_repr", @@ -4826,8 +4850,8 @@ dependencies = [ [[package]] name = "near-performance-metrics" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix", "bitflags 1.3.2", @@ -4835,7 +4859,6 @@ dependencies = [ "futures", "libc", "once_cell", - "strum 0.24.1", "tokio", "tokio-util 0.7.10", "tracing", @@ -4843,8 +4866,8 @@ dependencies = [ [[package]] name = "near-performance-metrics-macros" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "quote", "syn 2.0.47", @@ -4852,13 +4875,13 @@ dependencies = [ [[package]] name = "near-pool" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "borsh 1.3.0", - "near-crypto 1.39.0", - "near-o11y 1.39.0", - "near-primitives 1.39.0", + "near-crypto 1.40.0-rc.1", + "near-o11y 1.40.0-rc.1", + "near-primitives 1.40.0-rc.1", "once_cell", "rand 0.8.5", ] @@ -4931,12 +4954,13 @@ dependencies = [ [[package]] name = "near-primitives" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "arbitrary", "base64 0.21.5", "borsh 1.3.0", + "bytes", "bytesize", "cfg-if 1.0.0", "chrono", @@ -4944,13 +4968,14 @@ dependencies = [ "easy-ext", "enum-map", "hex", - "near-crypto 1.39.0", - "near-fmt 1.39.0", - "near-o11y 1.39.0", + "itertools", + "near-async", + "near-crypto 1.40.0-rc.1", + "near-fmt 1.40.0-rc.1", "near-parameters", - "near-primitives-core 1.39.0", - "near-rpc-error-macro 1.39.0", - "near-stdx 1.39.0", + "near-primitives-core 1.40.0-rc.1", + "near-rpc-error-macro 1.40.0-rc.1", + "near-stdx 1.40.0-rc.1", "near-vm-runner", "num-rational", "once_cell", @@ -4966,8 +4991,8 @@ dependencies = [ "smart-default", "strum 0.24.1", "thiserror", - "time", "tracing", + "zstd 0.13.1", ] [[package]] @@ -5011,8 +5036,8 @@ dependencies = [ [[package]] name = "near-primitives-core" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "arbitrary", "base64 0.21.5", @@ -5024,16 +5049,14 @@ dependencies = [ "num-rational", "serde", "serde_repr", - "serde_with", "sha2 0.10.8", - "strum 0.24.1", "thiserror", ] [[package]] name = "near-rosetta-rpc" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix", "actix-cors", @@ -5044,14 +5067,14 @@ dependencies = [ "futures", "hex", "near-account-id 1.0.0-alpha.4", - "near-chain-configs 1.39.0", + "near-chain-configs 1.40.0-rc.1", "near-client", "near-client-primitives", - "near-crypto 1.39.0", + "near-crypto 1.40.0-rc.1", "near-network", - "near-o11y 1.39.0", + "near-o11y 1.40.0-rc.1", "near-parameters", - "near-primitives 1.39.0", + "near-primitives 1.40.0-rc.1", "node-runtime", "paperclip", "serde", @@ -5059,7 +5082,6 @@ dependencies = [ "strum 0.24.1", "thiserror", "tokio", - "validator", ] [[package]] @@ -5086,8 +5108,8 @@ dependencies = [ [[package]] name = "near-rpc-error-core" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "quote", "serde", @@ -5119,11 +5141,10 @@ dependencies = [ [[package]] name = "near-rpc-error-macro" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ - "fs2", - "near-rpc-error-core 1.39.0", + "near-rpc-error-core 1.40.0-rc.1", "serde", "syn 2.0.47", ] @@ -5203,11 +5224,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "near-stable-hasher" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" - [[package]] name = "near-stdx" version = "0.17.0" @@ -5216,13 +5232,13 @@ checksum = "6540152fba5e96fe5d575b79e8cd244cf2add747bb01362426bdc069bc3a23bc" [[package]] name = "near-stdx" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" [[package]] name = "near-store" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix", "actix-rt", @@ -5233,18 +5249,18 @@ dependencies = [ "derive_more", "elastic-array", "enum-map", - "fs2", "hex", "itertools", "itoa", "lru 0.7.8", - "near-chain-configs 1.39.0", - "near-crypto 1.39.0", - "near-fmt 1.39.0", - "near-o11y 1.39.0", + "near-async", + "near-chain-configs 1.40.0-rc.1", + "near-crypto 1.40.0-rc.1", + "near-fmt 1.40.0-rc.1", + "near-o11y 1.40.0-rc.1", "near-parameters", - "near-primitives 1.39.0", - "near-stdx 1.39.0", + "near-primitives 1.40.0-rc.1", + "near-stdx 1.40.0-rc.1", "near-vm-runner", "num_cpus", "once_cell", @@ -5269,16 +5285,16 @@ checksum = "397688591acf8d3ebf2c2485ba32d4b24fc10aad5334e3ad8ec0b7179bfdf06b" [[package]] name = "near-telemetry" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix", "awc", "futures", - "near-o11y 1.39.0", + "near-async", + "near-o11y 1.40.0-rc.1", "near-performance-metrics", "near-performance-metrics-macros", - "near-primitives 1.39.0", "once_cell", "openssl", "serde", @@ -5297,15 +5313,14 @@ dependencies = [ [[package]] name = "near-vm-compiler" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "enumset", "finite-wasm", "near-vm-types", "near-vm-vm", "rkyv", - "smallvec", "target-lexicon 0.12.12", "thiserror", "tracing", @@ -5314,8 +5329,8 @@ dependencies = [ [[package]] name = "near-vm-compiler-singlepass" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "dynasm 2.0.0", "dynasmrt 2.0.0", @@ -5335,15 +5350,14 @@ dependencies = [ [[package]] name = "near-vm-engine" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "backtrace", "cfg-if 1.0.0", "enumset", "finite-wasm", "lazy_static", - "memmap2", "more-asserts", "near-vm-compiler", "near-vm-types", @@ -5407,8 +5421,8 @@ dependencies = [ [[package]] name = "near-vm-runner" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "anyhow", "base64 0.21.5", @@ -5416,13 +5430,12 @@ dependencies = [ "ed25519-dalek 2.1.0", "enum-map", "finite-wasm", - "loupe", "lru 0.12.3", "memoffset 0.8.0", - "near-crypto 1.39.0", + "near-crypto 1.40.0-rc.1", "near-parameters", - "near-primitives-core 1.39.0", - "near-stdx 1.39.0", + "near-primitives-core 1.40.0-rc.1", + "near-stdx 1.40.0-rc.1", "near-vm-compiler", "near-vm-compiler-singlepass", "near-vm-engine", @@ -5438,7 +5451,6 @@ dependencies = [ "rustix 0.38.28", "serde", "serde_repr", - "serde_with", "sha2 0.10.8", "sha3", "strum 0.24.1", @@ -5461,8 +5473,8 @@ dependencies = [ [[package]] name = "near-vm-types" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "indexmap 1.9.3", "num-traits", @@ -5472,8 +5484,8 @@ dependencies = [ [[package]] name = "near-vm-vm" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "backtrace", "cc", @@ -5488,16 +5500,16 @@ dependencies = [ "rkyv", "thiserror", "tracing", - "wasmparser 0.99.0", "winapi", ] [[package]] name = "near-wallet-contract" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "anyhow", + "near-primitives-core 1.40.0-rc.1", "near-vm-runner", ] @@ -5540,8 +5552,8 @@ dependencies = [ [[package]] name = "nearcore" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "actix", "actix-rt", @@ -5549,6 +5561,7 @@ dependencies = [ "anyhow", "awc", "borsh 1.3.0", + "bytesize", "chrono", "cloud-storage", "dirs", @@ -5560,23 +5573,23 @@ dependencies = [ "indicatif", "near-async", "near-chain", - "near-chain-configs 1.39.0", + "near-chain-configs 1.40.0-rc.1", "near-chunks", "near-client", "near-client-primitives", - "near-config-utils 1.39.0", - "near-crypto 1.39.0", + "near-config-utils 1.40.0-rc.1", + "near-crypto 1.40.0-rc.1", "near-dyn-configs", "near-epoch-manager", "near-jsonrpc", - "near-jsonrpc-primitives 1.39.0", + "near-jsonrpc-primitives 1.40.0-rc.1", "near-mainnet-res", "near-network", - "near-o11y 1.39.0", + "near-o11y 1.40.0-rc.1", "near-parameters", "near-performance-metrics", "near-pool", - "near-primitives 1.39.0", + "near-primitives 1.40.0-rc.1", "near-rosetta-rpc", "near-store", "near-telemetry", @@ -5635,17 +5648,17 @@ dependencies = [ [[package]] name = "node-runtime" -version = "1.39.0" -source = "git+https://github.com/near/nearcore?rev=2b2c06edb90400fb934ae08a7083250266bff780#2b2c06edb90400fb934ae08a7083250266bff780" +version = "1.40.0-rc.1" +source = "git+https://github.com/near/nearcore?rev=08941a3c070eca2e6163a4ad1eaed1f0d3ee233c#08941a3c070eca2e6163a4ad1eaed1f0d3ee233c" dependencies = [ "borsh 1.3.0", "hex", - "near-chain-configs 1.39.0", - "near-crypto 1.39.0", - "near-o11y 1.39.0", + "near-chain-configs 1.40.0-rc.1", + "near-crypto 1.40.0-rc.1", + "near-o11y 1.40.0-rc.1", "near-parameters", - "near-primitives 1.39.0", - "near-primitives-core 1.39.0", + "near-primitives 1.40.0-rc.1", + "near-primitives-core 1.40.0-rc.1", "near-store", "near-vm-runner", "near-wallet-contract", @@ -5885,6 +5898,21 @@ dependencies = [ "tokio-stream", ] +[[package]] +name = "opentelemetry" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "900d57987be3f2aeb70d385fff9b27fb74c5723cc9a52d904d4f9c807a0667bf" +dependencies = [ + "futures-core", + "futures-sink", + "js-sys", + "once_cell", + "pin-project-lite", + "thiserror", + "urlencoding", +] + [[package]] name = "opentelemetry-otlp" version = "0.10.0" @@ -5895,21 +5923,89 @@ dependencies = [ "futures", "futures-util", "http", - "opentelemetry", - "prost", + "opentelemetry 0.17.0", + "prost 0.9.0", "thiserror", "tokio", - "tonic", + "tonic 0.6.2", "tonic-build", ] +[[package]] +name = "opentelemetry-otlp" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a016b8d9495c639af2145ac22387dcb88e44118e45320d9238fbf4e7889abcb" +dependencies = [ + "async-trait", + "futures-core", + "http", + "opentelemetry 0.22.0", + "opentelemetry-proto", + "opentelemetry-semantic-conventions 0.14.0", + "opentelemetry_sdk", + "prost 0.12.6", + "thiserror", + "tokio", + "tonic 0.11.0", +] + +[[package]] +name = "opentelemetry-proto" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a8fddc9b68f5b80dae9d6f510b88e02396f006ad48cac349411fbecc80caae4" +dependencies = [ + "opentelemetry 0.22.0", + "opentelemetry_sdk", + "prost 0.12.6", + "tonic 0.11.0", +] + [[package]] name = "opentelemetry-semantic-conventions" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "985cc35d832d412224b2cffe2f9194b1b89b6aa5d0bef76d080dce09d90e62bd" dependencies = [ - "opentelemetry", + "opentelemetry 0.17.0", +] + +[[package]] +name = "opentelemetry-semantic-conventions" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9ab5bd6c42fb9349dcf28af2ba9a0667f697f9bdcca045d39f2cec5543e2910" + +[[package]] +name = "opentelemetry_sdk" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e90c7113be649e31e9a0f8b5ee24ed7a16923b322c3c5ab6367469c049d6b7e" +dependencies = [ + "async-trait", + "crossbeam-channel", + "futures-channel", + "futures-executor", + "futures-util", + "glob", + "once_cell", + "opentelemetry 0.22.0", + "ordered-float", + "percent-encoding", + "rand 0.8.5", + "thiserror", + "tokio", + "tokio-stream", +] + +[[package]] +name = "ordered-float" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a76df7075c7d4d01fdcb46c912dd17fba5b60c78ea480b475f2b6ab6f666584e" +dependencies = [ + "num-traits", ] [[package]] @@ -6528,7 +6624,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001" dependencies = [ "bytes", - "prost-derive", + "prost-derive 0.9.0", +] + +[[package]] +name = "prost" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" +dependencies = [ + "bytes", + "prost-derive 0.12.6", ] [[package]] @@ -6544,7 +6650,7 @@ dependencies = [ "log", "multimap", "petgraph", - "prost", + "prost 0.9.0", "prost-types", "regex", "tempfile", @@ -6564,6 +6670,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "prost-derive" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" +dependencies = [ + "anyhow", + "itertools", + "proc-macro2", + "quote", + "syn 2.0.47", +] + [[package]] name = "prost-types" version = "0.9.0" @@ -6571,7 +6690,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" dependencies = [ "bytes", - "prost", + "prost 0.9.0", ] [[package]] @@ -8097,6 +8216,12 @@ dependencies = [ "syn 2.0.47", ] +[[package]] +name = "sync_wrapper" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" + [[package]] name = "sysinfo" version = "0.24.7" @@ -8488,8 +8613,8 @@ dependencies = [ "hyper-timeout", "percent-encoding", "pin-project", - "prost", - "prost-derive", + "prost 0.9.0", + "prost-derive 0.9.0", "tokio", "tokio-stream", "tokio-util 0.6.10", @@ -8500,6 +8625,33 @@ dependencies = [ "tracing-futures", ] +[[package]] +name = "tonic" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76c4eb7a4e9ef9d4763600161f12f5070b92a578e1b634db88a6887844c91a13" +dependencies = [ + "async-stream", + "async-trait", + "axum", + "base64 0.21.5", + "bytes", + "h2", + "http", + "http-body", + "hyper", + "hyper-timeout", + "percent-encoding", + "pin-project", + "prost 0.12.6", + "tokio", + "tokio-stream", + "tower", + "tower-layer", + "tower-service", + "tracing", +] + [[package]] name = "tonic-build" version = "0.6.2" @@ -8628,13 +8780,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fbbe89715c1dbbb790059e2565353978564924ee85017b5fff365c872ff6721f" dependencies = [ "once_cell", - "opentelemetry", + "opentelemetry 0.17.0", "tracing", "tracing-core", "tracing-log 0.1.4", "tracing-subscriber", ] +[[package]] +name = "tracing-opentelemetry" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9be14ba1bbe4ab79e9229f7f89fab8d120b865859f10527f31c033e599d2284" +dependencies = [ + "js-sys", + "once_cell", + "opentelemetry 0.22.0", + "opentelemetry_sdk", + "smallvec", + "tracing", + "tracing-core", + "tracing-log 0.2.0", + "tracing-subscriber", + "web-time", +] + [[package]] name = "tracing-subscriber" version = "0.3.18" @@ -8781,11 +8951,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" dependencies = [ "form_urlencoded", - "idna 0.5.0", + "idna", "percent-encoding", "serde", ] +[[package]] +name = "urlencoding" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" + [[package]] name = "utf8parse" version = "0.2.1" @@ -8804,28 +8980,6 @@ version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" -[[package]] -name = "validator" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "841d6937c33ec6039d8071bcf72933146b5bbe378d645d8fa59bdadabfc2a249" -dependencies = [ - "idna 0.2.3", - "lazy_static", - "regex", - "serde", - "serde_derive", - "serde_json", - "url", - "validator_types", -] - -[[package]] -name = "validator_types" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad9680608df133af2c1ddd5eaf1ddce91d60d61b6bc51494ef326458365a470a" - [[package]] name = "valuable" version = "0.1.0" @@ -9424,6 +9578,16 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + [[package]] name = "webpki-roots" version = "0.25.4"