From 00d78ca88f8d7e671c8224c5cf80a289d1097e7e Mon Sep 17 00:00:00 2001 From: smrpn Date: Tue, 20 Apr 2021 22:10:40 +0530 Subject: [PATCH 1/2] feat: bump version 2.0.8 Signed-off-by: smrpn --- Cargo.toml | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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. From d43b029a51937b3f38806c0c2a2a61aad078ae06 Mon Sep 17 00:00:00 2001 From: smrpn Date: Tue, 20 Apr 2021 23:06:05 +0530 Subject: [PATCH 2/2] feat: add new token Signed-off-by: smrpn --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 3544369a..fbd980f8 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -22,5 +22,5 @@ jobs: - uses: smrpn/criterion-compare-action@move_to_actions with: cwd: benches - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.BENCH_GITHUB_TOKEN }}