[package]
name = "u2fhid"
version = "0.1.0"
authors = ["Kyle Machulis <kyle@nonpolynomial.com>", "J.C. Jones <jc@mozilla.org>", "Tim Taubert <ttaubert@mozilla.com>"]
build = "build.rs"

[target.'cfg(target_os = "linux")'.dependencies]
libudev = "^0.2"

[target.'cfg(target_os = "macos")'.dependencies]
core-foundation-sys = "0.3.1"

[target.'cfg(target_os = "windows")'.dependencies]
winapi = "0.2.8"

[dependencies]
rand = "0.3"
log = "0.3"
env_logger = "0.4.1"
libc = "^0.2"
boxfnonce = "0.0.3"

[dev-dependencies]
rust-crypto = "^0.2"
base64 = "^0.4"

[replace]
"libudev-sys:0.1.3" = { git = "https://github.com/ttaubert/libudev-sys" }

[package]
name = "u2fhid"
version = "0.1.0"
authors = ["Kyle Machulis <kyle@nonpolynomial.com>", "J.C. Jones <jc@mozilla.org>", "Tim Taubert <ttaubert@mozilla.com>"]
build = "build.rs"

[target.'cfg(target_os = "linux")'.dependencies]
libudev = "^0.2"

[target.'cfg(target_os = "macos")'.dependencies]
core-foundation-sys = "0.3.1"

[target.'cfg(target_os = "windows")'.dependencies]
winapi = "0.2.8"

[dependencies]
rand = "0.3"
log = "0.3"
env_logger = "0.4.1"
libc = "^0.2"
boxfnonce = "0.0.3"

[dev-dependencies]
rust-crypto = "^0.2"
base64 = "^0.4"

Remove libudev-sys override, only needed when building Gecko
Remove libudev-sys override, only needed when building Gecko
