securitydept-creds 0.2.0

Credentials of SecurityDept, a layered authentication and authorization toolkit built as reusable Rust crates.
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"
name = "securitydept-creds"
version = "0.2.0"
authors = ["Zhou Yeheng <root@aitiotekt.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Credentials of SecurityDept, a layered authentication and authorization toolkit built as reusable Rust crates."
homepage = "https://securitydept.ethaxon.com/"
documentation = "https://docs.rs/securitydept-creds"
readme = "README.md"
keywords = [
    "auth",
    "oauth",
    "oidc",
    "security",
    "token",
]
categories = [
    "authentication",
    "network-programming",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/ethaxon/securitydept"

[features]
jwe = [
    "jwt",
    "dep:josekit",
    "jwk",
]
jwk = []
jwt = [
    "dep:jsonwebtoken",
    "jwk",
]
oidc = ["dep:openidconnect"]
rfc9068 = [
    "jwt",
    "jwk",
]

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

[dependencies.argon2]
version = "0.6.0-rc.7"

[dependencies.base64]
version = "0.22"

[dependencies.hex]
version = "0.4"

[dependencies.http]
version = "1"

[dependencies.josekit]
version = "0.10"
optional = true

[dependencies.jsonwebtoken]
version = "10"
features = ["rust_crypto"]
optional = true

[dependencies.openidconnect]
version = "4"
optional = true

[dependencies.rand]
version = "0.10"
features = ["thread_rng"]

[dependencies.securitydept-utils]
version = "~0.2.0"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"

[dependencies.sha2]
version = "0.11"

[dependencies.snafu]
version = "0.9"

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

[dependencies.tracing]
version = "0.1"