fastauth-plugin-passkey 0.7.0

Passkeys (WebAuthn) for fastauth, built on webauthn-rs and wire-compatible with Better Auth's passkey plugin.
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-plugin-passkey"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Passkeys (WebAuthn) for fastauth, built on webauthn-rs and wire-compatible with Better Auth's passkey plugin."
readme = "README.md"
keywords = [
    "auth",
    "authentication",
    "axum",
    "sqlx",
    "session",
]
categories = [
    "authentication",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/lassejlv/fastauth"

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

[[example]]
name = "compat_server"
path = "examples/compat_server.rs"

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

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

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

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

[dependencies.base64]
version = "0.22.1"

[dependencies.fastauth-core]
version = "0.7.0"
features = ["macros"]

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

[dependencies.serde_cbor_2]
version = "0.13.0"

[dependencies.serde_json]
version = "1.0.154"

[dependencies.time]
version = "0.3.45"
features = ["serde"]

[dependencies.webauthn-rs]
version = "0.6.2"
features = [
    "conditional-ui",
    "danger-allow-state-serialisation",
    "danger-credential-internals",
]

[dependencies.webauthn-rs-proto]
version = "0.6.2"

[dev-dependencies.aws-lc-rs]
version = "1.19.0"

[dev-dependencies.axum]
version = "0.8.9"

[dev-dependencies.bytes]
version = "1.12.2"

[dev-dependencies.fastauth-axum]
version = "0.7.0"

[dev-dependencies.fastauth-plugin-two-factor]
version = "0.7.0"

[dev-dependencies.fastauth-sqlx]
version = "0.7.0"
features = [
    "sqlite",
    "postgres",
    "mysql",
]
default-features = false

[dev-dependencies.http]
version = "1.5.0"

[dev-dependencies.sqlx]
version = "0.9.1"
features = ["mysql-rsa"]
default-features = false

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

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

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