Skip to content

Commit

Permalink
add missing implemented feature: explain
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheng JIANG committed May 12, 2020
1 parent d58d184 commit b81c9cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "casbin"
version = "0.8.2"
version = "0.8.3"
authors = ["Joey <[email protected]>", "Cheng JIANG <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
Expand Down Expand Up @@ -37,6 +37,7 @@ glob = ["globset"]
cached = ["ttl_cache"]
watcher = []
incremental = []
explain = []

[profile.release.build-override]
opt-level = 0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Add this package to `Cargo.toml` of your project. (Check https://crates.io/crate

```toml
[dependencies]
casbin = { version = "0.8.2", default-features = false, features = ["runtime-async-std", "logging"] }
casbin = { version = "0.8.3", default-features = false, features = ["runtime-async-std", "logging"] }
async-std = { version = "1.5.0", features = ["attributes"] }
env_logger = "0.7.1"
```
Expand Down

1 comment on commit b81c9cf

@GopherJ
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rust Benchmark

Benchmark suite Current: b81c9cf Previous: d58d184 Ratio
b_benchmark_abac_model 7340 ns/iter (± 855) 6462 ns/iter (± 1919) 1.14
b_benchmark_basic_model 7602 ns/iter (± 387) 6313 ns/iter (± 1956) 1.20
b_benchmark_key_match 25299 ns/iter (± 792) 22280 ns/iter (± 3343) 1.14
b_benchmark_priority_model 9134 ns/iter (± 1612) 7063 ns/iter (± 2101) 1.29
b_benchmark_raw 8 ns/iter (± 0) 6 ns/iter (± 3) 1.33
b_benchmark_rbac_model 22061 ns/iter (± 713) 16206 ns/iter (± 2066) 1.36
b_benchmark_rbac_model_large 67418242 ns/iter (± 9395181) 52831171 ns/iter (± 6944959) 1.28
b_benchmark_rbac_model_medium 6281580 ns/iter (± 162584) 4926591 ns/iter (± 1034604) 1.28
b_benchmark_rbac_model_small 626906 ns/iter (± 102496) 492655 ns/iter (± 223459) 1.27
b_benchmark_rbac_model_with_domains 12773 ns/iter (± 705) 9647 ns/iter (± 1822) 1.32
b_benchmark_rbac_with_deny 37597 ns/iter (± 703) 27970 ns/iter (± 6229) 1.34
b_benchmark_rbac_with_resource_roles 9989 ns/iter (± 422) 7534 ns/iter (± 5593) 1.33

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.