Skip to content

Commit

Permalink
feat: update Cargo.toml & README.md (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
MuZhou233 authored Feb 23, 2024
1 parent 253eeaa commit 965f439
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ path = "src/lib.rs"
[dependencies]
actix = "0.13.0"
casbin = { version = "2.0.9", default-features = false, features = [ "incremental", "cached"] }
actix-casbin-auth = {git = "https://github.com/casbin-rs/actix-casbin-auth", default-features = false }
actix-casbin-auth = { version = "1.0.0", default-features = false }
tokio = { version = "1.19.2", default-features = false, optional = true }
async-std = { version = "1.11.0", default-features = false, optional = true }
futures = "0.3.21"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Crates.io](https://img.shields.io/crates/d/actix-casbin)](https://crates.io/crates/actix-casbin)
[![Docs](https://docs.rs/actix-casbin/badge.svg)](https://docs.rs/actix-casbin)
[![Auto Build](https://github.com/casbin-rs/actix-casbin/workflows/Auto%20Build/badge.svg)](https://github.com/casbin-rs/actix-casbin/actions/)
[![Auto Build](https://github.com/casbin-rs/actix-casbin/actions/workflows/ci.yml/badge.svg)](https://github.com/casbin-rs/actix-casbin/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/casbin-rs/actix-casbin/branch/master/graph/badge.svg)](https://codecov.io/gh/casbin-rs/actix-casbin)

[Casbin](https://github.com/casbin/casbin-rs) intergration for [actix](https://github.com/actix/actix) framework
Expand All @@ -11,9 +11,9 @@

Add it to `Cargo.toml`

```rust
actix-casbin = "1.0.0"
actix-rt = "2.7.0"
```bash
cargo add actix-casbin
cargo add actix-rt
```


Expand Down

0 comments on commit 965f439

Please sign in to comment.