Docs.rs
casbin-2.2.0
casbin 2.2.0
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
async-trait ^0.1.52
normal
fixedbitset ^0.4
normal
globset ^0.4.8
normal
ip_network ^0.4.1
normal
mini-moka ^0.10
normal
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
ritelinked ^0.3.2
normal
serde ^1.0.136
normal
slog ^2.7.0
normal
slog-async ^2.7.0
normal
slog-term ^2.9.0
normal
thiserror ^1.0.30
normal
tokio ^1.17.0
normal
tokio-stream ^0.1.8
normal
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
19.35%
of the crate is documented
Go to latest version
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.2.0
All Items
Re-exports
Modules
Macros
Structs
Enums
Traits
Type Aliases
?
Crate
casbin
source
·
[
−
]
Re-exports
§
pub use error::
Error
;
Modules
§
error
function_map
prelude
rhai
Macros
§
get_or_err
get_or_err_with_context
push_index_if_explain
register_g_function
Structs
§
Assertion
DefaultEffectStream
DefaultEffector
DefaultModel
DefaultRoleManager
EnforceContext
Enforcer
Enforcer is the main interface for authorization enforcement and policy management.
FileAdapter
Filter
MemoryAdapter
NullAdapter
Enums
§
EffectKind
Event
EventData
Traits
§
Adapter
CoreApi
Effector
EffectorStream
EnforceArgs
EventEmitter
EventKey
IEnforcer
InternalApi
MgmtApi
Model
RbacApi
RoleManager
TryIntoAdapter
TryIntoModel
Type Aliases
§
MatchingFn
Result