passkey-client 0.6.0

Webauthn client in Rust.
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-client"
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 = "Webauthn client in Rust."
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]
android-asset-validation = ["dep:nom"]
linux = [
    "dep:tokio",
    "passkey-authenticator/linux",
    "tokio/rt",
]
testable = ["dep:mockall"]
tokio = ["dep:tokio"]
typeshare = [
    "dep:typeshare",
    "passkey-types/typeshare",
]
windows = ["dep:windows-sys"]

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

[dependencies.ciborium]
version = "0.2"

[dependencies.idna]
version = "1"

[dependencies.itertools]
version = "0.14"

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

[dependencies.nom]
version = "7"
features = ["alloc"]
optional = true

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

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

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

[dependencies.public-suffix]
version = "0.1"

[dependencies.reqwest]
version = "0.12"
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

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

[dependencies.typeshare]
version = "1"
optional = true

[dependencies.url]
version = "2"

[dependencies.windows-sys]
version = ">=0.52.0, <0.62.0"
features = [
    "Win32_Foundation",
    "Win32_Networking_WindowsWebServices",
    "Win32_UI_WindowsAndMessaging",
]
optional = true

[dev-dependencies.coset]
version = ">=0.4.2"

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

[dev-dependencies.passkey-authenticator]
version = "0.6"
features = [
    "testable",
    "tokio",
]

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

[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"