fastauth-core 0.3.0

Core of fastauth: the builder, plugin system, sessions, crypto and routing.
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-core"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core of fastauth: the builder, plugin system, sessions, crypto and routing."
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"

[features]
axum = ["dep:axum-core"]
macros = ["dep:fastauth-macros"]
testing = []

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

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

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

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

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

[dependencies.argon2]
version = "0.6.0"
features = ["getrandom"]

[dependencies.axum-core]
version = "0.5.6"
optional = true

[dependencies.base64]
version = "0.23.1"

[dependencies.bytes]
version = "1.12.2"

[dependencies.chacha20poly1305]
version = "0.11.0"
features = ["getrandom"]

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

[dependencies.getrandom]
version = "0.4.3"

[dependencies.hkdf]
version = "0.13.0"

[dependencies.hmac]
version = "0.13.0"

[dependencies.http]
version = "1.5.0"

[dependencies.matchit]
version = "0.9.2"

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

[dependencies.serde_json]
version = "1.0.154"

[dependencies.serde_urlencoded]
version = "0.7.1"

[dependencies.sha2]
version = "0.11.0"

[dependencies.subtle]
version = "2.6.1"

[dependencies.thiserror]
version = "2.0.21"

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

[dependencies.tokio]
version = "1.54.1"
features = [
    "rt",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.url]
version = "2.5.9"

[dependencies.uuid]
version = "1.26.1"
features = [
    "v4",
    "v7",
]

[dependencies.zeroize]
version = "1.9.2"

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

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

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