webauthn-kit 1.0.0

Standalone WebAuthn/FIDO2 passkey verification kit for Rust: CTAP2 parsing, COSE ES256/RS256 via ring, replay/freshness protection, sign-count clone detection. No storage, no framework.
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 = "2021"
rust-version = "1.85"
name = "webauthn-kit"
version = "1.0.0"
build = false
exclude = ["/target"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Standalone WebAuthn/FIDO2 passkey verification kit for Rust: CTAP2 parsing, COSE ES256/RS256 via ring, replay/freshness protection, sign-count clone detection. No storage, no framework."
readme = "README.md"
keywords = [
    "webauthn",
    "passkeys",
    "fido2",
    "ctap2",
    "authentication",
]
categories = [
    "authentication",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/WyattAu/webauthn-kit"

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

[package.metadata.layers]
tier = "L1"

[features]
default = ["std"]
serde = ["dep:serde"]
std = []

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.ciborium]
version = "0.2"

[dependencies.ring]
version = "0.17"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.x509-parser]
version = "0.18.1"
default-features = false

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rcgen]
version = "0.14.7"
features = [
    "ring",
    "pem",
]
default-features = false

[lints.clippy]
expect_used = "warn"
indexing_slicing = "deny"
panic = "deny"
unwrap_used = "deny"