155 lines
3 KiB
TOML
155 lines
3 KiB
TOML
# 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 = "2018"
|
|
name = "authenticator"
|
|
version = "0.4.1"
|
|
authors = [
|
|
"Dana Keeler <dkeeler@mozilla.com>",
|
|
"J.C. Jones <jc@mozilla.com>",
|
|
"John Schanck <jschanck@mozilla.com>",
|
|
"Kyle Machulis <kyle@nonpolynomial.com>",
|
|
"Martin Sirringhaus <martin.sirringhaus@suse.com",
|
|
"Tim Taubert <ttaubert@mozilla.com>",
|
|
]
|
|
description = "Library for interacting with CTAP1/2 security keys for Web Authentication. Used by Firefox."
|
|
readme = "README.md"
|
|
keywords = [
|
|
"ctap2",
|
|
"u2f",
|
|
"fido",
|
|
"webauthn",
|
|
]
|
|
categories = [
|
|
"cryptography",
|
|
"hardware-support",
|
|
"os",
|
|
]
|
|
license = "MPL-2.0"
|
|
repository = "https://github.com/mozilla/authenticator-rs/"
|
|
|
|
[dependencies.base64]
|
|
version = "^0.21"
|
|
|
|
[dependencies.bitflags]
|
|
version = "1.0"
|
|
|
|
[dependencies.bytes]
|
|
version = "0.5"
|
|
features = ["serde"]
|
|
optional = true
|
|
|
|
[dependencies.cfg-if]
|
|
version = "1.0"
|
|
|
|
[dependencies.libc]
|
|
version = "0.2"
|
|
|
|
[dependencies.log]
|
|
version = "0.4"
|
|
|
|
[dependencies.nss-gk-api]
|
|
version = "0.3.0"
|
|
optional = true
|
|
|
|
[dependencies.openssl]
|
|
version = "0.10"
|
|
optional = true
|
|
|
|
[dependencies.openssl-sys]
|
|
version = "0.9"
|
|
optional = true
|
|
|
|
[dependencies.pkcs11-bindings]
|
|
version = "0.1.4"
|
|
optional = true
|
|
|
|
[dependencies.rand]
|
|
version = "0.8"
|
|
|
|
[dependencies.runloop]
|
|
version = "0.1.0"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
|
|
[dependencies.serde_bytes]
|
|
version = "0.11"
|
|
|
|
[dependencies.serde_cbor]
|
|
version = "0.11"
|
|
|
|
[dependencies.serde_json]
|
|
version = "1.0"
|
|
|
|
[dependencies.sha2]
|
|
version = "^0.10.0"
|
|
|
|
[dev-dependencies.assert_matches]
|
|
version = "1.2"
|
|
|
|
[dev-dependencies.env_logger]
|
|
version = "^0.6"
|
|
|
|
[dev-dependencies.getopts]
|
|
version = "^0.2"
|
|
|
|
[dev-dependencies.rpassword]
|
|
version = "5.0"
|
|
|
|
[build-dependencies.bindgen]
|
|
version = "^0.58.1"
|
|
optional = true
|
|
|
|
[features]
|
|
binding-recompile = ["bindgen"]
|
|
crypto_dummy = []
|
|
crypto_nss = [
|
|
"nss-gk-api",
|
|
"pkcs11-bindings",
|
|
]
|
|
crypto_openssl = [
|
|
"openssl",
|
|
"openssl-sys",
|
|
]
|
|
default = ["crypto_nss"]
|
|
gecko = ["nss-gk-api/gecko"]
|
|
|
|
[target."cfg(target_os = \"freebsd\")".dependencies.devd-rs]
|
|
version = "0.3"
|
|
|
|
[target."cfg(target_os = \"linux\")".dependencies.libudev]
|
|
version = "^0.2"
|
|
|
|
[target."cfg(target_os = \"macos\")".dependencies.core-foundation]
|
|
version = "0.9"
|
|
|
|
[target."cfg(target_os = \"windows\")".dependencies.memoffset]
|
|
version = "0.8"
|
|
|
|
[target."cfg(target_os = \"windows\")".dependencies.winapi]
|
|
version = "^0.3"
|
|
features = [
|
|
"handleapi",
|
|
"hidclass",
|
|
"hidpi",
|
|
"hidusage",
|
|
"setupapi",
|
|
]
|
|
|
|
[badges.maintenance]
|
|
status = "actively-developed"
|
|
|
|
[badges.travis-ci]
|
|
branch = "master"
|
|
repository = "mozilla/authenticator-rs"
|