From 7701be297f4a22e8ee239d2a1954a13d4dc5b879 Mon Sep 17 00:00:00 2001 From: Yiannis Marangos Date: Mon, 18 Sep 2023 00:26:33 +0300 Subject: [PATCH] chore: Update dependencies --- Cargo.toml | 38 ++++++++++++++++++-------------------- examples/tftpd-dir.rs | 2 +- 2 files changed, 19 insertions(+), 21 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1985605..dadecfc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,39 +8,37 @@ readme = "README.md" description = "Executor agnostic async TFTP implementation" categories = ["network-programming"] -keywords = [ - "tftp", "tftpd", "async-std", "tokio", "smol", -] +keywords = ["tftp", "tftpd", "async-std", "tokio", "smol"] exclude = [".github", "rfcs"] repository = "https://github.com/oblique/async-tftp-rs" [dependencies] -bytes = "1.3.0" -log = "0.4.17" -nom = "7.1.1" +bytes = "1.5.0" +log = "0.4.20" +nom = "7.1.3" num-derive = "0.3.3" -num-traits = "0.2.15" -thiserror = "1.0.37" +num-traits = "0.2.16" +thiserror = "1.0.48" -async-executor = "1.5.0" -async-io = "1.12.0" -async-lock = "2.6.0" -async-trait = "0.1.59" -blocking = "1.3.0" -futures-lite = "1.12.0" +async-executor = "1.5.1" +async-io = "1.13.0" +async-lock = "2.8.0" +async-trait = "0.1.73" +blocking = "1.3.1" +futures-lite = "1.13.0" [dev-dependencies] -anyhow = "1.0.66" -async-channel = "1.8.0" -fern = "0.6.1" +anyhow = "1.0.75" +async-channel = "1.9.0" +fern = "0.6.2" md5 = "0.7.0" rand = { version = "0.8.5", features = ["small_rng"] } structopt = "0.3.26" -tempfile = "3.3.0" -tokio = { version = "1", features = ["rt-multi-thread", "macros"] } +tempfile = "3.8.0" +tokio = { version = "1.32.0", features = ["rt-multi-thread", "macros"] } # deps for tftpd-targz.rs -async-compression = { version = "0.3.15", features = ["gzip", "futures-io"] } +async-compression = { version = "0.4.3", features = ["gzip", "futures-io"] } async-std = { version = "1.12.0", features = ["unstable"] } async-tar = "0.4.2" diff --git a/examples/tftpd-dir.rs b/examples/tftpd-dir.rs index d562480..5cd068a 100644 --- a/examples/tftpd-dir.rs +++ b/examples/tftpd-dir.rs @@ -2,7 +2,7 @@ use anyhow::Result; use async_tftp::server::TftpServerBuilder; #[tokio::main] -fn main() -> Result<()> { +async fn main() -> Result<()> { fern::Dispatch::new() .level(log::LevelFilter::Info) .level_for("async_tftp", log::LevelFilter::Trace)