From 015e4dbf961733672f7a784de6a9d6bd41c3fefa Mon Sep 17 00:00:00 2001 From: danda Date: Fri, 5 Apr 2024 14:54:28 -0700 Subject: [PATCH] build: use major.minor for all deps --- Cargo.lock | 55 ++++------------------------------------------ Cargo.toml | 64 +++++++++++++++++++++++++++--------------------------- 2 files changed, 36 insertions(+), 83 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 365ce167..078e6bdd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -922,24 +922,12 @@ version = "0.4.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f0042ff8246a363dbe77d2ceedb073339e85a804b9a47636c6e016a9a32c05f" dependencies = [ - "enum-ordinalize 3.1.15", + "enum-ordinalize", "proc-macro2", "quote", "syn 1.0.109", ] -[[package]] -name = "educe" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4bd92664bf78c4d3dba9b7cdafce6fa15b13ed3ed16175218196942e99168a8" -dependencies = [ - "enum-ordinalize 4.3.0", - "proc-macro2", - "quote", - "syn 2.0.58", -] - [[package]] name = "either" version = "1.10.0" @@ -968,26 +956,6 @@ dependencies = [ "syn 2.0.58", ] -[[package]] -name = "enum-ordinalize" -version = "4.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea0dcfa4e54eeb516fe454635a95753ddd39acda650ce703031c6973e315dd5" -dependencies = [ - "enum-ordinalize-derive", -] - -[[package]] -name = "enum-ordinalize-derive" -version = "4.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d28318a75d4aead5c4db25382e8ef717932d0346600cacae6357eb5941bc5ff" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.58", -] - [[package]] name = "equivalent" version = "1.0.1" @@ -1704,7 +1672,7 @@ dependencies = [ "test-strategy", "tiny-bip39", "tokio", - "tokio-serde 0.9.0", + "tokio-serde", "tokio-test", "tokio-util", "tracing", @@ -2745,7 +2713,7 @@ dependencies = [ "tarpc-plugins", "thiserror", "tokio", - "tokio-serde 0.8.0", + "tokio-serde", "tokio-util", "tracing", "tracing-opentelemetry", @@ -2968,25 +2936,10 @@ name = "tokio-serde" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "911a61637386b789af998ee23f50aa30d5fd7edcec8d6d3dedae5e5815205466" -dependencies = [ - "bytes", - "educe 0.4.23", - "futures-core", - "futures-sink", - "pin-project", - "serde", - "serde_json", -] - -[[package]] -name = "tokio-serde" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caf600e7036b17782571dd44fa0a5cea3c82f60db5137f774a325a76a0d6852b" dependencies = [ "bincode", "bytes", - "educe 0.5.11", + "educe", "futures-core", "futures-sink", "pin-project", diff --git a/Cargo.toml b/Cargo.toml index c5dfb9b5..3b0f06f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,54 +7,54 @@ default-run = "neptune-core" publish = false [dependencies] -aead = "0" -aes-gcm = "0" -anyhow = "1" -arbitrary = { version = "1", features = ["derive"] } +aead = "0.5" +aes-gcm = "0.10" +anyhow = "1.0" +arbitrary = { version = "1.3", features = ["derive"] } bech32 = "0.9" -bincode = "1" -bytes = "1" -bytesize = "1" +bincode = "1.3" +bytes = "1.6" +bytesize = "1.3" chrono = "=0.4.34" -clap = { version = "4", features = ["derive"] } -clap_complete = "4.4.6" -console-subscriber = "0.2.0" -crossterm = "0" -directories = "5" -field_count = "0.1.1" -futures = "0" -get-size = { version = "0", features = ["derive"] } +clap = { version = "4.5", features = ["derive"] } +clap_complete = "4.4" +console-subscriber = "0.2" +crossterm = "0.27" +directories = "5.0" +field_count = "0.1" +futures = "0.3" +get-size = { version = "0.1", features = ["derive"] } itertools = "0.11" memmap2 = "0.9" -num-bigint = { version = "0", features = ["serde"] } -num-rational = "0" -num-traits = "0" -priority-queue = "1" +num-bigint = { version = "0.4", features = ["serde"] } +num-rational = "0.4" +num-traits = "0.2" +priority-queue = "1.4" proptest = "1.4" proptest-arbitrary-interop = "0.1" rand = "0.8" ratatui = "0.23" regex = "1.10.3" semver = "^1.0.21" -serde = { version = "1", features = ["derive"] } -serde_derive = "1" -serde_json = "1" +serde = { version = "1.0", features = ["derive"] } +serde_derive = "1.0" +serde_json = "1.0" strum = { version = "0.25", features = ["derive"] } tarpc = { version = "^0.34", features = ["tokio1", "serde-transport", "serde-transport-json", "tcp"] } -tasm-lib = "0.2.1" -tiny-bip39 = "1.0.0" -tokio = { version = "1", features = ["full", "tracing"] } -tokio-serde = { version = "0", features = ["bincode", "json"] } -tokio-util = { version = "0", features = ["codec"] } -tracing = "0" -tracing-subscriber = { version = "0", features = [ +tasm-lib = "0.2" +tiny-bip39 = "1.0" +tokio = { version = "1.37", features = ["full", "tracing"] } +tokio-serde = { version = "0.8", features = ["bincode", "json"] } +tokio-util = { version = "0.7", features = ["codec"] } +tracing = "0.1" +tracing-subscriber = { version = "0.3", features = [ "std", "env-filter", "time", "fmt", ] } -tracing-test = "0" -unicode-width = "0" +tracing-test = "0.2" +unicode-width = "0.1" zeroize = "1.7.0" rs-leveldb = "0.1.5" leveldb-sys = "2.0.9" @@ -64,7 +64,7 @@ async-stream = "0.3.5" [dev-dependencies] test-strategy = "0.3" pin-project-lite = "0.2.13" -tokio-test = "0" +tokio-test = "0.4" blake3 = "1.5.1" divan = "0.1.14"