mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
6efd24a566
Summary: Upstream PR: https://github.com/jcjones/u2f-hid-rs/pull/62 * Extract hidproto module from linux::hidraw Make the protocol parts independent of Linux code, in preparation for adding FreeBSD support. * Add FreeBSD (uhid + devd) support Tested with a YubiKey 4. Tags: #secure-revision Bug #: 1468349 Differential Revision: https://phabricator.services.mozilla.com/D1636 MozReview-Commit-ID: 8NNWRgTEMn2 --HG-- extra : rebase_source : edf774f0a993a18b59b5f8aa10e0977d94ea1de8
31 lines
657 B
TOML
31 lines
657 B
TOML
[package]
|
|
name = "u2fhid"
|
|
version = "0.2.0"
|
|
authors = ["Kyle Machulis <kyle@nonpolynomial.com>", "J.C. Jones <jc@mozilla.com>", "Tim Taubert <ttaubert@mozilla.com>"]
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
libudev = "^0.2"
|
|
|
|
[target.'cfg(target_os = "freebsd")'.dependencies]
|
|
devd-rs = "0.2.1"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
core-foundation-sys = "0.6.0"
|
|
core-foundation = "0.6.0"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
winapi = "0.2.8"
|
|
|
|
[dependencies]
|
|
rand = "0.3"
|
|
log = "0.4"
|
|
libc = "^0.2"
|
|
boxfnonce = "0.0.3"
|
|
runloop = "0.1.0"
|
|
bitflags = "1.0"
|
|
|
|
[dev-dependencies]
|
|
sha2 = "^0.7"
|
|
base64 = "^0.4"
|
|
env_logger = "0.5"
|