Skip to content

Commit

Permalink
Merge pull request #271 from hackerchai/version/v2.0.8
Browse files Browse the repository at this point in the history
feat: bump version 2.0.8
  • Loading branch information
hackerchai authored Aug 19, 2021
2 parents 259fbb6 + ac5566a commit 79481b8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
27 changes: 14 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,22 @@ 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"
globset = { version = "0.4.6", optional = true }
ritelinked = { version = "0.3.0", default-features = false, features = ["ahash", "inline-more"] }

async-trait = "0.1.51"
globset = { version = "0.4.8", optional = true }
ritelinked = { version = "0.3.1", default-features = false, features = ["ahash", "inline-more"] }
ip_network = { version = "0.4.0", optional = true }
lazy_static = "1.4.0"
lru = { version = "0.6.5", optional = true }
lru = { version = "0.6.6", optional = true }
parking_lot = "0.11"
regex = "1.4.5"
rhai = { version = "1.0.0", features = [
regex = "1.5.4"
rhai = { version = "1.0.2", features = [
"sync",
"only_i32",
"no_function",
Expand All @@ -32,12 +33,12 @@ rhai = { version = "1.0.0", features = [
"serde",
"unchecked",
] }
serde = "1.0.125"
serde = "1.0.127"
slog = { version = "2.7.0", optional = true }
slog-async = { version = "2.6.0", optional = true }
slog-term = { version = "2.8.0", optional = true }
thiserror = "1.0.24"
tokio = { version = "1.5.0", optional = true, default-features = false }
thiserror = "1.0.26"
tokio = { version = "1.10.0", optional = true, default-features = false }
tokio-stream = { version = "0.1", optional = true, default-features = false }

[features]
Expand All @@ -56,12 +57,12 @@ watcher = []

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
async-std = { version = "1.9.0", features = ["attributes"] }
serde = { version = "1.0.125", features = ["derive"] }
serde = { version = "1.0.127", features = ["derive"] }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
async-std = { version = "1.9.0", features = ["attributes"] }
serde = { version = "1.0.125", features = ["derive"] }
tokio = { version = "1.5.0", features = ["full"] }
serde = { version = "1.0.127", features = ["derive"] }
tokio = { version = "1.10.0", features = ["full"] }

[profile.release]
codegen-units = 1
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.10.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.
Expand Down

0 comments on commit 79481b8

Please sign in to comment.