libwebauthn 0.5.0

FIDO2 (WebAuthn) and FIDO U2F platform library for Linux written 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 = "2021"
name = "libwebauthn"
version = "0.5.0"
authors = ["Alfie Fresta <alfie.fresta@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FIDO2 (WebAuthn) and FIDO U2F platform library for Linux written in Rust "
homepage = "https://github.com/linux-credentials"
readme = false
license-file = "COPYING"
repository = "https://github.com/linux-credentials/libwebauthn"
resolver = "2"

[features]
default = []
nfc = [
    "apdu-core",
    "apdu",
]
nfc-backend-libnfc = [
    "nfc",
    "nfc1-sys",
    "nfc1",
]
nfc-backend-pcsc = [
    "nfc",
    "dep:pcsc",
]
virt = []

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

[[example]]
name = "authenticator_config_hid"
path = "examples/management/authenticator_config_hid.rs"

[[example]]
name = "bio_enrollment_hid"
path = "examples/management/bio_enrollment_hid.rs"

[[example]]
name = "change_pin_hid"
path = "examples/management/change_pin_hid.rs"

[[example]]
name = "cred_management_hid"
path = "examples/management/cred_management_hid.rs"

[[example]]
name = "device_selection_hid"
path = "examples/features/device_selection_hid.rs"

[[example]]
name = "prf_replay"
path = "examples/features/prf_replay.rs"

[[example]]
name = "u2f_ble"
path = "examples/ceremony/u2f_ble.rs"

[[example]]
name = "u2f_hid"
path = "examples/ceremony/u2f_hid.rs"

[[example]]
name = "u2f_nfc"
path = "examples/ceremony/u2f_nfc.rs"
required-features = ["nfc"]

[[example]]
name = "webauthn_ble"
path = "examples/ceremony/webauthn_ble.rs"

[[example]]
name = "webauthn_cable"
path = "examples/ceremony/webauthn_cable.rs"

[[example]]
name = "webauthn_cable_wss"
path = "examples/ceremony/webauthn_cable_wss.rs"

[[example]]
name = "webauthn_extensions_hid"
path = "examples/features/webauthn_extensions_hid.rs"

[[example]]
name = "webauthn_hid"
path = "examples/ceremony/webauthn_hid.rs"

[[example]]
name = "webauthn_nfc"
path = "examples/ceremony/webauthn_nfc.rs"
required-features = ["nfc"]

[[example]]
name = "webauthn_preflight_hid"
path = "examples/features/webauthn_preflight_hid.rs"

[[example]]
name = "webauthn_prf_hid"
path = "examples/features/webauthn_prf_hid.rs"

[dependencies.aes]
version = "0.8.2"

[dependencies.apdu]
version = "0.4.0"
optional = true

[dependencies.apdu-core]
version = "0.4.0"
optional = true

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

[dependencies.base64-url]
version = "3.0.0"

[dependencies.bitflags]
version = "2.4.1"

[dependencies.bluer]
version = "0.17"
features = ["l2cap"]
default-features = false

[dependencies.btleplug]
version = "0.11.7"

[dependencies.byteorder]
version = "1.3.4"

[dependencies.cbc]
version = "0.1"
features = ["alloc"]

[dependencies.cosey]
version = "0.3.2"

[dependencies.ctap-types]
version = "0.4.0"

[dependencies.curve25519-dalek]
version = "4.1.3"

[dependencies.dbus]
version = "0.9.5"

[dependencies.futures]
version = "0.3.5"

[dependencies.heapless]
version = "0.7"

[dependencies.hex]
version = "0.4.3"

[dependencies.hidapi]
version = "2.4.1"
features = ["linux-static-hidraw"]
default-features = false

[dependencies.hkdf]
version = "0.12"

[dependencies.hmac]
version = "0.12.1"

[dependencies.idna]
version = "1.0.3"

[dependencies.maplit]
version = "1.0.2"

[dependencies.mockall]
version = "0.13.1"

[dependencies.nfc1]
version = "=0.6.0"
optional = true
default-features = false

[dependencies.nfc1-sys]
version = "0.3.9"
optional = true
default-features = false

[dependencies.num-derive]
version = "0.4.1"

[dependencies.num-traits]
version = "0.2"

[dependencies.num_enum]
version = "0.7.1"

[dependencies.p256]
version = "0.13.2"
features = [
    "ecdh",
    "arithmetic",
    "serde",
]

[dependencies.pcsc]
version = "2.9.0"
optional = true

[dependencies.publicsuffix]
version = "2.3"

[dependencies.rand]
version = "0.8.5"

[dependencies.rustls]
version = "0.23.27"
features = ["ring"]
default-features = false

[dependencies.serde]
version = "1.0.110"

[dependencies.serde-indexed]
version = "0.2.0"

[dependencies.serde_bytes]
version = "0.11.5"

[dependencies.serde_cbor_2]
version = "0.13"

[dependencies.serde_derive]
version = "1.0.123"

[dependencies.serde_json]
version = "1.0.141"

[dependencies.serde_repr]
version = "0.1.6"

[dependencies.sha2]
version = "0.10.2"

[dependencies.snow]
version = "0.10"
features = ["use-p256"]

[dependencies.text_io]
version = "0.1"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.time]
version = "0.3.35"

[dependencies.tokio]
version = "1.45"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tokio-tungstenite]
version = "0.26"
features = ["rustls-tls-native-roots"]

[dependencies.tracing]
version = "0.1.29"

[dependencies.tungstenite]
version = "0.26.2"

[dependencies.url]
version = "2.5"

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

[dependencies.x509-parser]
version = "0.17.0"

[dev-dependencies.qrcode]
version = "0.14.1"

[dev-dependencies.test-log]
version = "0.2"

[dev-dependencies.tracing-subscriber]
version = "0.3.3"
features = ["env-filter"]