gatehouse 0.2.0

A flexible authorization library that combines role-based (RBAC), attribute-based (ABAC), and relationship-based (ReBAC) access control policies.
Documentation
# 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 are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "gatehouse"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A flexible authorization library that combines role-based (RBAC), attribute-based (ABAC), and relationship-based (ReBAC) access control policies."
readme = "README.md"
license = "MIT"
repository = "https://github.com/thepartly/gatehouse"

[package.metadata.docs.rs]
cargo-args = [
    "-Zunstable-options",
    "-Zrustdoc-scrape-examples",
]
all-features = true

[lib]
name = "gatehouse"
path = "src/lib.rs"

[[example]]
name = "actix_web"
path = "examples/actix_web.rs"
doc-scrape-examples = true

[[example]]
name = "axum"
path = "examples/axum.rs"
doc-scrape-examples = true

[[example]]
name = "combinator_policy"
path = "examples/combinator_policy.rs"

[[example]]
name = "groups_policy"
path = "examples/groups_policy.rs"

[[example]]
name = "policy_builder"
path = "examples/policy_builder.rs"

[[example]]
name = "rbac_policy"
path = "examples/rbac_policy.rs"

[[example]]
name = "rebac_policy"
path = "examples/rebac_policy.rs"

[[test]]
name = "actix_example"
path = "tests/actix_example.rs"

[[test]]
name = "axum_example"
path = "tests/axum_example.rs"

[[bench]]
name = "permission_checker"
path = "benches/permission_checker.rs"
harness = false

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

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "serde",
    "v4",
]

[dev-dependencies.actix-web]
version = "4"

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.hyper]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tower]
version = "0.5"