# 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 = "2021"
rust-version = "1.85"
name = "webauthn-rs"
version = "0.5.2"
authors = [
    "William Brown <william@blackhats.net.au>",
    "Michael Farrell <micolous+git@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Webauthn Framework for Rust Web Servers"
homepage = "https://github.com/kanidm/webauthn-rs"
readme = "README.md"
keywords = [
    "webauthn",
    "authentication",
    "passkeys",
]
categories = [
    "authentication",
    "web-programming",
]
license = "MPL-2.0"
repository = "https://github.com/kanidm/webauthn-rs"

[package.metadata.docs.rs]
features = [
    "danger-allow-state-serialisation",
    "danger-user-presence-only-security-keys",
    "danger-credential-internals",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
attestation = []
conditional-ui = []
danger-allow-state-serialisation = []
danger-credential-internals = []
danger-user-presence-only-security-keys = []
default = ["attestation"]
preview-features = ["conditional-ui"]
resident-key-support = []
workaround-google-passkey-specific-issues = []

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

[dependencies.base64urlsafedata]
version = "=0.5.2"

[dependencies.serde]
version = "^1.0.141"
features = ["derive"]

[dependencies.tracing]
version = "^0.1.35"

[dependencies.url]
version = "2"
features = ["serde"]

[dependencies.uuid]
version = "^1.1.2"
features = [
    "v4",
    "serde",
]

[dependencies.webauthn-rs-core]
version = "=0.5.2"

[dev-dependencies]
