passkey-authenticator 0.6.0

A webauthn authenticator supporting passkeys.
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.87.0"
name = "passkey-authenticator"
version = "0.6.0"
authors = ["1Password"]
build = false
include = [
    "../LICENSE-APACHE",
    "../LICENSE-MIT",
    "src/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A webauthn authenticator supporting passkeys."
readme = "README.md"
keywords = [
    "ctap",
    "fido2",
    "passkey",
    "passwordless",
    "webauthn",
]
categories = ["authentication"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/1Password/passkey-rs"
resolver = "2"

[features]
default = []
linux = [
    "dep:passkey-transports",
    "dep:tokio",
    "passkey-transports/linux",
    "tokio/macros",
]
testable = [
    "dep:mockall",
    "passkey-types/testable",
]
tokio = ["dep:tokio"]

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

[dependencies.async-trait]
version = "0.1"

[dependencies.ciborium]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.mockall]
version = "0.11"
optional = true

[dependencies.passkey-crypto]
version = "0.1"

[dependencies.passkey-transports]
version = "0.2"
optional = true

[dependencies.passkey-types]
version = "0.6"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "sync",
]
optional = true

[dev-dependencies.authenticator]
version = "0.5"
features = ["crypto_dummy"]
default-features = false

[dev-dependencies.ciborium]
version = "0.2"

[dev-dependencies.generic-array]
version = "=0.14.7"
default-features = false

[dev-dependencies.mockall]
version = "0.11"

[dev-dependencies.passkey-types]
version = "0.6"
features = ["testable"]

[dev-dependencies.serde_cbor]
version = "0.11"

[dev-dependencies.signature]
version = "2"
features = ["rand_core"]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "sync",
]

[target.'cfg(target_os = "windows")'.dev-dependencies.winapi]
version = "^0.3"
features = ["std"]

[lints.clippy]
as_conversions = "deny"
dbg_macro = "deny"
result_unit_err = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unused_async = "deny"

[lints.rust]
missing_docs = "warn"
unused-qualifications = "deny"
unused_must_use = "forbid"

[lints.rustdoc]
broken_intra_doc_links = "deny"