# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "casbin"
version = "0.8.4"
authors = ["Joey <joey.xf@gmail.com>", "Cheng JIANG <jiang.cheng@vip.163.com>"]
description = "An authorization library that supports access control models like ACL, RBAC, ABAC."
homepage = "https://casbin.org/"
readme = "README.md"
keywords = ["auth", "authorization", "rbac", "acl", "abac"]
license = "Apache-2.0"
repository = "https://github.com/casbin/casbin-rs"
[profile.release.build-override]
opt-level = 0
[dependencies.async-std]
version = "1.5.0"
optional = true

[dependencies.async-trait]
version = "0.1.24"

[dependencies.globset]
version = "0.4.5"
optional = true

[dependencies.indexmap]
version = "1.3.1"

[dependencies.ip_network]
version = "0.3.4"
optional = true

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.log]
version = "0.4.8"
optional = true

[dependencies.regex]
version = "1.3.1"

[dependencies.rhai]
version = "0.13.0"
features = ["sync", "only_i32", "no_function", "no_float"]
default-features = false

[dependencies.thiserror]
version = "1.0.14"

[dependencies.tokio]
version = "0.2.11"
optional = true
default-features = false

[dependencies.ttl_cache]
version = "0.5.1"
optional = true

[features]
cached = ["ttl_cache"]
default = ["runtime-async-std", "incremental"]
explain = []
glob = ["globset"]
incremental = []
ip = ["ip_network"]
logging = ["log"]
runtime-async-std = ["async-std"]
runtime-tokio = ["tokio/fs", "tokio/io-util"]
watcher = []
[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.async-std]
version = "1.5.0"
features = ["attributes"]

[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.tokio]
version = "0.2.11"
features = ["full"]
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.async-std]
version = "1.5.0"
features = ["attributes"]
