Explorar o código

Update dependency versions and remove env_logger dep.

Luther Blissett %!s(int64=3) %!d(string=hai) anos
pai
achega
c769fd42ec

+ 2 - 22
Cargo.lock

@@ -1225,7 +1225,6 @@ dependencies = [
  "dirs",
  "drk-sdk",
  "ed25519-compact",
- "env_logger",
  "fast-socks5",
  "futures",
  "futures-rustls",
@@ -1761,19 +1760,6 @@ dependencies = [
  "syn",
 ]
 
-[[package]]
-name = "env_logger"
-version = "0.9.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c90bf5f19754d10198ccb95b70664fc925bd1fc090a0fd9a6ebc54acc8cd6272"
-dependencies = [
- "atty",
- "humantime",
- "log",
- "regex",
- "termcolor",
-]
-
 [[package]]
 name = "error-chain"
 version = "0.12.4"
@@ -2346,12 +2332,6 @@ version = "1.8.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"
 
-[[package]]
-name = "humantime"
-version = "2.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
-
 [[package]]
 name = "iana-time-zone"
 version = "0.1.50"
@@ -3415,9 +3395,9 @@ dependencies = [
 
 [[package]]
 name = "rcgen"
-version = "0.9.3"
+version = "0.10.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd"
+checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b"
 dependencies = [
  "pem",
  "ring",

+ 5 - 6
Cargo.toml

@@ -46,10 +46,9 @@ members = [
 
 [dependencies]
 # Hard dependencies
-libc = "0.2.133"
+libc = "0.2.134"
 log = "0.4.17"
-env_logger = "0.9.0"
-thiserror = "1.0.35"
+thiserror = "1.0.37"
 
 # async-runtime
 async-channel = {version = "1.7.1", optional = true}
@@ -66,12 +65,12 @@ ipnet = {version = "2.5.0", optional = true}
 socket2 = {version = "0.4.7", optional = true}
 
 # TLS cert utilities
-ed25519-compact = {version = "1.0.15", features = ["pem"], optional = true}
-rcgen = {version = "0.9.3", features = ["pem"], optional = true}
+ed25519-compact = {version = "1.0.16", features = ["pem"], optional = true}
+rcgen = {version = "0.10.0", features = ["pem"], optional = true}
 rustls-pemfile = {version = "1.0.1", optional = true}
 
 # Encoding
-bincode = {version = "2.0.0-rc.1", features = ["serde"], optional = true}
+bincode = {version = "2.0.0-rc.2", features = ["serde"], optional = true}
 base32 = {version = "0.4.0", optional = true}
 bs58 = {version = "0.4.0", optional = true}
 hex = {version = "0.4.3", optional = true}

+ 3 - 3
bin/cashierd/Cargo.toml

@@ -25,7 +25,7 @@ clap = {version = "3.2.20", features = ["derive"]}
 log = "0.4.17"
 num_cpus = "1.13.1"
 simplelog = "0.12.0"
-thiserror = "1.0.35"
+thiserror = "1.0.37"
 url = "2.3.1"
 fxhash = "0.2.1"
 
@@ -49,8 +49,8 @@ num-bigint = {version = "0.4.3", features = ["rand", "serde"], optional = true}
 # Solana bridge dependencies
 native-tls = {version = "0.2.10", optional = true}
 async-native-tls = {version = "0.4.0", optional = true}
-solana-client = {version = "1.13.1", optional = true}
-solana-sdk = {version = "1.13.1", optional = true}
+solana-client = {version = "1.14.5", optional = true}
+solana-sdk = {version = "1.14.5", optional = true}
 spl-associated-token-account = {version = "1.1.1", features = ["no-entrypoint"], optional = true}
 spl-token = {version = "3.5.0", features = ["no-entrypoint"], optional = true}
 tungstenite = {version = "0.17.3", optional = true}

+ 1 - 1
bin/daod/Cargo.toml

@@ -21,7 +21,7 @@ easy-parallel = "3.2.0"
 log = "0.4.17"
 num_cpus = "1.13.1"
 simplelog = "0.12.0"
-thiserror = "1.0.35"
+thiserror = "1.0.37"
 
 # Crypto
 incrementalmerkletree = "0.3.0"

+ 1 - 1
bin/dnetview/Cargo.toml

@@ -31,7 +31,7 @@ log = "0.4.17"
 num_cpus = "1.13.1"
 url = "2.3.1"
 fxhash = "0.2.1"
-thiserror = "1.0.35"
+thiserror = "1.0.37"
 
 # Encoding and parsing
 serde_json = "1.0.85"

+ 1 - 1
bin/tau/taud/Cargo.toml

@@ -27,7 +27,7 @@ log = "0.4.17"
 simplelog = "0.12.0"
 rand = "0.8.5"
 chrono = "0.4.22"
-thiserror = "1.0.35"
+thiserror = "1.0.37"
 ctrlc = { version = "3.2.3", features = ["termination"] }
 url = "2.3.1"
 fxhash = "0.2.1"

+ 0 - 1
example/lead.rs

@@ -13,7 +13,6 @@ use darkfi::{
 
 fn main() {
     debug!("..");
-    env_logger::init();
     let k: u32 = 13;
     //
 

+ 1 - 1
script/research/raft-diag/Cargo.toml

@@ -22,7 +22,7 @@ log = "0.4.17"
 simplelog = "0.12.0"
 rand = "0.8.5"
 chrono = "0.4.22"
-thiserror = "1.0.35"
+thiserror = "1.0.37"
 ctrlc = { version = "3.2.3", features = ["termination"] }
 url = "2.3.1"
 fxhash = "0.2.1"

+ 1 - 1
script/research/state_usage_analyser/Cargo.toml

@@ -5,7 +5,7 @@ edition = "2021"
 
 [dependencies]
 async-std = {version = "1.12.0", features = ["attributes"]}
-bincode = "2.0.0-rc.1"
+bincode = "2.0.0-rc.2"
 darkfi = {path = "../../../", features = ["blockchain"]}
 incrementalmerkletree = "0.3.0"
 lazy-init = "0.5.1"

+ 1 - 1
src/sdk/Cargo.toml

@@ -5,5 +5,5 @@ edition = "2021"
 
 [dependencies]
 borsh = "0.9.3"
-thiserror = "1.0.35"
+thiserror = "1.0.37"
 wee_alloc = "0.4.5"

+ 2 - 2
src/serial/derive-internal/Cargo.toml

@@ -9,6 +9,6 @@ license = "AGPL-3.0-only"
 edition = "2021"
 
 [dependencies]
-proc-macro2 = "1.0.43"
+proc-macro2 = "1.0.46"
 quote = "1.0.21"
-syn = {version = "1.0.100", features = ["full", "fold"]}
+syn = {version = "1.0.101", features = ["full", "fold"]}

+ 2 - 2
src/serial/derive/Cargo.toml

@@ -13,7 +13,7 @@ proc-macro = true
 
 [dependencies]
 proc-macro-crate = "1.2.1"
-proc-macro2 = "1.0.43"
-syn = {version = "1.0.100", features = ["full", "fold"]}
+proc-macro2 = "1.0.46"
+syn = {version = "1.0.101", features = ["full", "fold"]}
 
 darkfi-derive-internal = {path = "../derive-internal"}