aboutsummaryrefslogtreecommitdiff
path: root/p2p
diff options
context:
space:
mode:
authorhozan23 <hozan23@proton.me>2024-03-13 02:10:14 +0100
committerhozan23 <hozan23@proton.me>2024-03-13 02:10:14 +0100
commitf9c8ebbd12257277e7a12a9ec42ab656d66fb6bc (patch)
treebbf1075ed7a94573d18d7e06d0fb0ffdb579067f /p2p
parentfc6fec0d8e69dac51e78b65dcc1a452c8a5b4901 (diff)
update dependencies
Diffstat (limited to 'p2p')
-rw-r--r--p2p/Cargo.toml22
-rw-r--r--p2p/src/error.rs2
2 files changed, 12 insertions, 12 deletions
diff --git a/p2p/Cargo.toml b/p2p/Cargo.toml
index 0679be8..fc14de2 100644
--- a/p2p/Cargo.toml
+++ b/p2p/Cargo.toml
@@ -9,22 +9,22 @@ edition.workspace = true
karyon_core = { workspace = true, features=["crypto"] }
karyon_net.workspace = true
-smol = "1.3.0"
-async-trait = "0.1.73"
+smol = "2.0.0"
+async-trait = "0.1.77"
futures-util = {version = "0.3.5", features=["std"], default-features = false }
-log = "0.4.20"
-chrono = "0.4.30"
+log = "0.4.21"
+chrono = "0.4.35"
bincode = { version="2.0.0-rc.3", features = ["derive"]}
rand = "0.8.5"
-thiserror = "1.0.47"
-semver = "1.0.20"
+thiserror = "1.0.58"
+semver = "1.0.22"
sha2 = "0.10.8"
# tls
futures-rustls = { version = "0.25.1", features = ["aws-lc-rs"] }
-rcgen = "0.11.3"
+rcgen = "0.12.1"
yasna = "0.5.2"
-x509-parser = "0.15.1"
+x509-parser = "0.16.0"
[[example]]
name = "peer"
@@ -40,7 +40,7 @@ path = "examples/monitor.rs"
[dev-dependencies]
async-std = "1.12.0"
-clap = { version = "4.4.6", features = ["derive"] }
-ctrlc = "3.4.1"
+clap = { version = "4.5.2", features = ["derive"] }
+ctrlc = "3.4.4"
easy-parallel = "3.3.1"
-env_logger = "0.10.0"
+env_logger = "0.11.3"
diff --git a/p2p/src/error.rs b/p2p/src/error.rs
index 75330a8..b4ddc2e 100644
--- a/p2p/src/error.rs
+++ b/p2p/src/error.rs
@@ -60,7 +60,7 @@ pub enum Error {
X509Parser(#[from] x509_parser::error::X509Error),
#[error("Rcgen Error: {0}")]
- Rcgen(#[from] rcgen::RcgenError),
+ Rcgen(#[from] rcgen::Error),
#[error("Tls Error: {0}")]
Rustls(#[from] futures_rustls::rustls::Error),