fastauth-plugin-admin 0.3.0

Admin plugin for fastauth: roles and permissions, bans, impersonation and user management.
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 = "2024"
rust-version = "1.94"
name = "fastauth-plugin-admin"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Admin plugin for fastauth: roles and permissions, bans, impersonation and user management."
readme = "README.md"
keywords = [
    "auth",
    "authentication",
    "axum",
    "sqlx",
    "session",
]
categories = [
    "authentication",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lassejlv/fastauth"

[package.metadata.docs.rs]
all-features = true

[features]
axum = [
    "dep:axum",
    "dep:fastauth-axum",
]

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

[[example]]
name = "admin_server"
path = "examples/admin_server.rs"
required-features = ["axum"]

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

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

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

[dependencies.axum]
version = "0.8.9"
optional = true
default-features = false

[dependencies.fastauth-axum]
version = "0.3.0"
optional = true

[dependencies.fastauth-core]
version = "0.3.0"
features = ["macros"]

[dependencies.serde]
version = "1.0.229"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.154"

[dependencies.time]
version = "0.3.45"
features = [
    "formatting",
    "parsing",
]

[dev-dependencies.axum]
version = "0.8.9"
features = ["macros"]

[dev-dependencies.bytes]
version = "1.12.2"

[dev-dependencies.http]
version = "1.5.0"

[dev-dependencies.tokio]
version = "1.54.1"
features = [
    "macros",
    "net",
    "rt-multi-thread",
    "time",
]

[dev-dependencies.tower]
version = "0.5.3"
features = ["util"]

[dev-dependencies.url]
version = "2.5.9"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "allow"
unsafe_code = "forbid"