diff --git a/Cargo.toml b/Cargo.toml index e7b152a6..515be6c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,13 +8,13 @@ license = "Apache-2.0" name = "casbin" readme = "README.md" repository = "https://github.com/casbin/casbin-rs" -version = "2.0.7" +version = "2.0.8" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] async-std = { version = "1.9.0", optional = true } -async-trait = "0.1.48" +async-trait = "0.1.50" globset = { version = "0.4.6", optional = true } indexmap = "1.6.2" ip_network = { version = "0.3.4", optional = true } diff --git a/README.md b/README.md index 465ef786..7abcc373 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,8 @@ Add this package to `Cargo.toml` of your project. (Check https://crates.io/crate ```toml [dependencies] -casbin = { version = "2.0.7", default-features = false, features = ["runtime-async-std", "logging", "incremental"] } -tokio = { version = "1.4.0", features = ["fs", "io-util"] } +casbin = { version = "2.0.8", default-features = false, features = ["runtime-async-std", "logging", "incremental"] } +tokio = { version = "1.5.0", features = ["fs", "io-util"] } ``` **Warning**: `tokio v1.0` or later is supported from `casbin v2.0.6`, we recommend that you upgrade the relevant components to ensure that they work properly. The last version that supports `tokio v0.2` is `casbin v2.0.5` , you can choose according to your needs.