From 9dc663c3e3289e40e33d64fbac15a224d7a2397e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Mar 2026 12:32:41 +0000 Subject: [PATCH] Bump tokio from 1.4.0 to 1.16.1 Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.4.0 to 1.16.1. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.4.0...tokio-1.16.1) --- updated-dependencies: - dependency-name: tokio dependency-version: 1.16.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.lock | 11 +++++------ Cargo.toml | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 375bda5..207cae2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "ahash" @@ -759,11 +759,10 @@ dependencies = [ [[package]] name = "tokio" -version = "1.4.0" +version = "1.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "134af885d758d645f0f0505c9a8b3f9bf8a348fd822e112ab5248138348f1722" +checksum = "0c27a64b625de6d309e8c57716ba93021dccf1b3b5c97edd6d3dd2d2135afc0a" dependencies = [ - "autocfg", "bytes", "libc", "memchr", @@ -779,9 +778,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "1.1.0" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caf7b11a536f46a809a8a9f0bb4237020f70ecbf115b842360afb127ea2fda57" +checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 1831b79..f6b17cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,12 +14,12 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.64" async-trait = "0.1.40" casbin = { git = "https://github.com/casbin/casbin-rs" } -tokio = { version = "1.2.0", default-features = false, optional = true } +tokio = { version = "1.16.1", default-features = false, optional = true } async-std = { version = "1.6.4", default-features = false, optional = true } [dev-dependencies] async-std = { version = "1.6.4", features = [ "attributes" ] } -tokio = { version = "1.2.0", features = [ "full" ] } +tokio = { version = "1.16.1", features = [ "full" ] } [features] default = ["runtime-tokio"]