[package]
edition = "2021"
name = "cloudillo-auth"
version = "0.8.12"
authors = ["Szilárd Hajba <szilu@symbion.hu>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Authentication subsystem for Cloudillo: login, JWT tokens, and WebAuthn passwordless auth"
homepage = "https://cloudillo.org"
readme = "README.md"
keywords = [
"cloudillo",
"authentication",
"webauthn",
"jwt",
"passwordless",
]
categories = [
"web-programming",
"authentication",
]
license = "LGPL-3.0-only"
repository = "https://github.com/cloudillo/cloudillo-rs"
[lib]
name = "cloudillo_auth"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
features = [
"http2",
"macros",
]
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
[dependencies.cloudillo-core]
version = "0.8.12"
[dependencies.cloudillo-email]
version = "0.8.12"
[dependencies.cloudillo-ref]
version = "0.8.12"
[dependencies.cloudillo-types]
version = "0.8.12"
features = ["server"]
[dependencies.dashmap]
version = "6.1"
[dependencies.jsonwebtoken]
version = "10.3"
features = ["rust_crypto"]
[dependencies.rand]
version = "0.10"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_with]
version = "3.18"
[dependencies.sha2]
version = "0.11"
[dependencies.tokio]
version = "1"
features = [
"rt",
"time",
]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1.23"
features = ["v4"]
[dependencies.webauthn-rs]
version = "0.5"
features = ["danger-allow-state-serialisation"]
[dependencies.webauthn-rs-proto]
version = "0.5"
[lints.clippy]
doc_markdown = "allow"
expect_used = "deny"
literal_string_with_formatting_args = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "deny"
return_self_not_must_use = "allow"
similar_names = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unused_async = "allow"
unwrap_used = "deny"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
ambiguous_negative_literals = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "forbid"
unused_lifetimes = "warn"