Skip to content

Commit 2bf03da

Browse files
authored
Merge pull request #16 from hackerchai/master
Feat: bump version 0.4.1
2 parents edcff6d + 96b3cf6 commit 2bf03da

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "actix-casbin"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
authors = ["Eason Chai <[email protected]>","Cheng JIANG <[email protected]>"]
55
edition = "2018"
66
license = "Apache-2.0"
@@ -15,7 +15,7 @@ path = "src/lib.rs"
1515
[dependencies]
1616
actix = "0.9.0"
1717
casbin = { version = "2.0.1", default-features = false, features = [ "incremental", "cached"] }
18-
actix-casbin-auth = { version = "0.4.0", default-features = false }
18+
actix-casbin-auth = { version = "0.4.2", default-features = false }
1919
tokio = { version = "0.2.22", default-features = false, optional = true }
2020
async-std = { version = "1.6.3", default-features = false, optional = true }
2121
futures = "0.3"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Add it to `Cargo.toml`
1313

1414
```rust
15-
actix-casbin = "0.4.0"
15+
actix-casbin = "0.4.1"
1616
actix-rt = "1.1.1"
1717
```
1818

tests/test_set_enforcer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ async fn test_set_enforcer() {
1010
.unwrap();
1111
let a = FileAdapter::new("examples/rbac_policy.csv");
1212

13-
let mut casbin_middleware = CasbinService::new(m, a).await;
13+
let mut casbin_middleware = CasbinService::new(m, a).await.unwrap();
1414
let enforcer = casbin_middleware.get_enforcer();
1515

1616
let addr = CasbinActor::<CachedEnforcer>::set_enforcer(enforcer)

0 commit comments

Comments
 (0)