Docs.rs
casbin-2.5.0
casbin 2.5.0
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
GopherJ
xcaptain
hsluoyz
hackerchai
Dependencies
async-std ^1.10.0
normal
optional
async-trait ^0.1.52
normal
fixedbitset ^0.4
normal
globset ^0.4.8
normal
optional
hashlink ^0.9.0
normal
ip_network ^0.4.1
normal
optional
mini-moka ^0.10
normal
optional
once_cell ^1.9.0
normal
parking_lot ^0.12.0
normal
petgraph ^0.6
normal
regex ^1.5.4
normal
rhai ^1.5.0
normal
serde ^1.0.136
normal
serde_json ^1.0.127
normal
slog ^2.7.0
normal
optional
slog-async ^2.7.0
normal
optional
slog-term ^2.9.0
normal
optional
thiserror ^1.0.30
normal
tokio ^1.17.0
normal
optional
tokio-stream ^0.1.8
normal
optional
criterion ^0.3.5
dev
async-std ^1.10.0
dev
serde ^1.0.136
dev
tokio ^1.17.0
dev
getrandom ^0.2
normal
async-std ^1.9.0
dev
serde ^1.0.136
dev
Versions
18.18%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
casbin
2.5.0
All Items
Crate Items
Re-exports
Modules
Macros
Structs
Enums
Traits
Type Aliases
Crate
casbin
Copy item path
source
·
[
−
]
Re-exports
§
pub use error::
Error
;
Modules
§
error
frontend
function_
map
prelude
rhai
Macros
§
get_
or_
err
get_
or_
err_
with_
context
push_
index_
if_
explain
register_
g_
function
Structs
§
Assertion
Default
Effect
Stream
Default
Effector
Default
Model
Default
Role
Manager
Enforce
Context
Enforcer
Enforcer is the main interface for authorization enforcement and policy management.
File
Adapter
Filter
Memory
Adapter
Null
Adapter
Enums
§
Effect
Kind
Event
Event
Data
Traits
§
Adapter
CoreApi
Effector
Effector
Stream
Enforce
Args
Event
Emitter
Event
Key
IEnforcer
Internal
Api
MgmtApi
Model
RbacApi
Role
Manager
TryInto
Adapter
TryInto
Model
Type Aliases
§
Matching
Fn
Result