| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
name = "authenticator" |
| 15 |
version = "0.4.1" |
| 16 |
authors = [ |
| 17 |
"Dana Keeler <[email protected]>", |
| 18 |
"J.C. Jones <[email protected]>", |
| 19 |
"John Schanck <[email protected]>", |
| 20 |
"Kyle Machulis <[email protected]>", |
| 21 |
"Martin Sirringhaus <[email protected]", |
| 22 |
"Tim Taubert <[email protected]>", |
| 23 |
] |
| 24 |
description = "Library for interacting with CTAP1/2 security keys for Web Authentication. Used by Firefox." |
| 25 |
readme = "README.md" |
| 26 |
keywords = [ |
| 27 |
"ctap2", |
| 28 |
"u2f", |
| 29 |
"fido", |
| 30 |
"webauthn", |
| 31 |
] |
| 32 |
categories = [ |
| 33 |
"cryptography", |
| 34 |
"hardware-support", |
| 35 |
"os", |
| 36 |
] |
| 37 |
license = "MPL-2.0" |
| 38 |
repository = "https://github.com/mozilla/authenticator-rs/" |
| 39 |
|
| 40 |
[dependencies.base64] |
| 41 |
version = "^0.21" |
| 42 |
|
| 43 |
[dependencies.bitflags] |
| 44 |
version = "1.0" |
| 45 |
|
| 46 |
[dependencies.bytes] |
| 47 |
version = "0.5" |
| 48 |
features = ["serde"] |
| 49 |
optional = true |
| 50 |
|
| 51 |
[dependencies.cfg-if] |
| 52 |
version = "1.0" |
| 53 |
|
| 54 |
[dependencies.libc] |
| 55 |
version = "0.2" |
| 56 |
|
| 57 |
[dependencies.log] |
| 58 |
version = "0.4" |
| 59 |
|
| 60 |
[dependencies.nss-gk-api] |
| 61 |
version = "0.3.0" |
| 62 |
optional = true |
| 63 |
|
| 64 |
[dependencies.openssl] |
| 65 |
version = "0.10" |
| 66 |
optional = true |
| 67 |
|
| 68 |
[dependencies.openssl-sys] |
| 69 |
version = "0.9" |
| 70 |
optional = true |
| 71 |
|
| 72 |
[dependencies.pkcs11-bindings] |
| 73 |
version = "0.1.4" |
| 74 |
optional = true |
| 75 |
|
| 76 |
[dependencies.rand] |
| 77 |
version = "0.8" |
| 78 |
|
| 79 |
[dependencies.runloop] |
| 80 |
version = "0.1.0" |
| 81 |
|
| 82 |
[dependencies.serde] |
| 83 |
version = "1.0" |
| 84 |
features = ["derive"] |
| 85 |
|
| 86 |
[dependencies.serde_bytes] |
| 87 |
version = "0.11" |
| 88 |
|
| 89 |
[dependencies.serde_cbor] |
| 90 |
version = "0.11" |
| 91 |
|
| 92 |
[dependencies.serde_json] |
| 93 |
version = "1.0" |
| 94 |
|
| 95 |
[dependencies.sha2] |
| 96 |
version = "^0.10.0" |
| 97 |
|
| 98 |
[dev-dependencies.assert_matches] |
| 99 |
version = "1.2" |
| 100 |
|
| 101 |
[dev-dependencies.env_logger] |
| 102 |
version = "^0.6" |
| 103 |
|
| 104 |
[dev-dependencies.getopts] |
| 105 |
version = "^0.2" |
| 106 |
|
| 107 |
[dev-dependencies.rpassword] |
| 108 |
version = "5.0" |
| 109 |
|
| 110 |
[build-dependencies.bindgen] |
| 111 |
version = "^0.58.1" |
| 112 |
optional = true |
| 113 |
|
| 114 |
[features] |
| 115 |
binding-recompile = ["bindgen"] |
| 116 |
crypto_dummy = [] |
| 117 |
crypto_nss = [ |
| 118 |
"nss-gk-api", |
| 119 |
"pkcs11-bindings", |
| 120 |
] |
| 121 |
crypto_openssl = [ |
| 122 |
"openssl", |
| 123 |
"openssl-sys", |
| 124 |
] |
| 125 |
default = ["crypto_nss"] |
| 126 |
gecko = ["nss-gk-api/gecko"] |
| 127 |
|
| 128 |
[target."cfg(target_os = \"freebsd\")".dependencies.devd-rs] |
| 129 |
version = "0.3" |
| 130 |
|
| 131 |
[target."cfg(target_os = \"linux\")".dependencies.libudev] |
| 132 |
version = "^0.2" |
| 133 |
|
| 134 |
[target."cfg(target_os = \"macos\")".dependencies.core-foundation] |
| 135 |
version = "0.9" |
| 136 |
|
| 137 |
[target."cfg(target_os = \"windows\")".dependencies.memoffset] |
| 138 |
version = "0.8" |
| 139 |
|
| 140 |
[target."cfg(target_os = \"windows\")".dependencies.winapi] |
| 141 |
version = "^0.3" |
| 142 |
features = [ |
| 143 |
"handleapi", |
| 144 |
"hidclass", |
| 145 |
"hidpi", |
| 146 |
"hidusage", |
| 147 |
"setupapi", |
| 148 |
] |
| 149 |
|
| 150 |
[badges.maintenance] |
| 151 |
status = "actively-developed" |
| 152 |
|
| 153 |
[badges.travis-ci] |
| 154 |
branch = "master" |
| 155 |
repository = "mozilla/authenticator-rs" |