# 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 = "cbwaw"
version = "0.5.41"
authors = ["sean watters <sean@ordinarylabs.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Auth library for Ordinary Framework."
homepage = "https://codeberg.org/ordinarylabs/Ordinary"
readme = "README.md"
categories = ["authentication"]
license = "AGPL-3.0-only"
repository = "https://codeberg.org/ordinarylabs/Ordinary"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
client = []
core = [
    "dep:saferlmdb",
    "dep:uuid",
    "dep:ed25519-dalek",
]
default = [
    "client",
    "core",
]

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

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

[dependencies.argon2]
version = "0.5.3"

[dependencies.blake2]
version = "0.10.6"

[dependencies.bytes]
version = "1.11.0"

[dependencies.chacha20poly1305]
version = "0.10.1"

[dependencies.ed25519-dalek]
version = "2.2.0"
features = ["rand_core"]
optional = true

[dependencies.flexbuffers]
version = "0.1.3"
package = "fexbluffers"

[dependencies.opaque-ke]
version = "4.0.1"
features = ["argon2"]

[dependencies.ordinary-config]
version = "0.5.41"
package = "configinator"

[dependencies.qrcodegen]
version = "1.8.0"

[dependencies.saferlmdb]
version = "0.2.4"
optional = true

[dependencies.sha2]
version = "0.10.9"

[dependencies.totp-rs]
version = "5.7.0"
features = [
    "otpauth",
    "gen_secret",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.uuid]
version = "1.19.0"
features = [
    "v7",
    "v4",
]
optional = true

[dependencies.x25519-dalek]
version = "2.0.1"
features = ["static_secrets"]

[lints.clippy]
unwrap_used = "deny"
