From ee7e54a8961352f6f5a02a3f6bc870b144e2655d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=90?= Date: Sun, 3 Mar 2024 15:44:53 +0800 Subject: [PATCH] feat: upgrade tokio version to 1.36.0 (#31) --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5660309..75ade12 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ path = "src/lib.rs" actix = "0.13.0" casbin = { version = "2.0.9", default-features = false, features = [ "incremental", "cached"] } actix-casbin-auth = { version = "1.0.0", default-features = false } -tokio = { version = "1.19.2", default-features = false, optional = true } +tokio = { version = "1.36.0", default-features = false, optional = true } async-std = { version = "1.11.0", default-features = false, optional = true } futures = "0.3.21" @@ -27,6 +27,6 @@ runtime-tokio = ["casbin/runtime-tokio", "tokio/sync", "actix-casbin-auth/runtim runtime-async-std = ["casbin/runtime-async-std", "async-std/std", "actix-casbin-auth/runtime-async-std"] [dev-dependencies] -tokio = { version = "1.19.2", features = [ "full" ] } +tokio = { version = "1.36.0", features = [ "full" ] } async-std = { version = "1.11.0", features = [ "attributes" ] } actix-rt = "2.7.0"