aauth 0.0.1

Rust implementation of the AAuth authorization protocol
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.85"
name = "aauth"
version = "0.0.1"
authors = ["Lukas Friman <lukas.f@keska.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust implementation of the AAuth authorization protocol"
documentation = "https://docs.rs/aauth"
readme = "README.md"
keywords = [
    "aauth",
    "oauth",
    "authentication",
    "http-signatures",
]
categories = [
    "authentication",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/keska-labs/aauth-rs"

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

[features]
client = [
    "dep:reqwest",
    "dep:tokio",
]
default = [
    "client",
    "server",
]
server = []

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

[[example]]
name = "client_direct_grant"
path = "examples/client_direct_grant.rs"
required-features = [
    "client",
    "server",
]

[[example]]
name = "verify_agent_token"
path = "examples/verify_agent_token.rs"
required-features = ["server"]

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

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

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.ed25519-dalek]
version = "3.0.0-rc.1"
features = [
    "alloc",
    "rand_core",
    "pkcs8",
]

[dependencies.http]
version = "1"

[dependencies.jsonwebtoken]
version = "10.4.0"
features = [
    "use_pem",
    "rust_crypto",
]
default-features = false

[dependencies.rand]
version = "0.10.1"

[dependencies.reqwest]
version = "0.13.4"
features = [
    "json",
    "rustls",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sfv]
version = "0.15.0"

[dependencies.sha2]
version = "0.11.0"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "time",
    "time",
]
optional = true

[dependencies.url]
version = "2"

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

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

[dev-dependencies.wiremock]
version = "0.6"