diff --git a/Cargo.toml b/Cargo.toml index 0c62554..a93c63d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,13 +15,13 @@ readme = "README.md" serde = { version = "1.0", features = ["derive"] } serde_yaml = "0.8" async-trait = "0.1.40" -casbin = { version = "2.0" } -tokio = { version = "0.3.1", default-features = false, optional = true } +casbin = { version = "2.0", default-features = false } +tokio = { version = "1.36.0", 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 = "0.3.1", features = [ "full" ] } +tokio = { version = "1.36.0", features = [ "full" ] } [features] default = ["runtime-async-std"] diff --git a/src/yaml_adapter.rs b/src/yaml_adapter.rs index 2206b47..32ad85a 100644 --- a/src/yaml_adapter.rs +++ b/src/yaml_adapter.rs @@ -31,7 +31,7 @@ impl
Adapter for YamlAdapter
where
P: AsRef