mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1444097 - Clean up env_logger dependencies. r=ted
For the "js" crate, disable the "regex" feature to reduce binary size. For the "u2fhid" crate, it's used only in examples. Make it a dev-dependency so it won't be part of the Firefox build. MozReview-Commit-ID: DY9indMqrRw --HG-- extra : rebase_source : aa66fe1effaeca0ae35ec5dd20b33724eb3fac48
This commit is contained in:
parent
3cfd824081
commit
1fbdfd78ef
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -1896,7 +1896,6 @@ dependencies = [
|
||||
"bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"boxfnonce 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"core-foundation-sys 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"env_logger 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libudev 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -15,7 +15,6 @@ winapi = "0.2.8"
|
||||
[dependencies]
|
||||
rand = "0.3"
|
||||
log = "0.3"
|
||||
env_logger = "0.4.1"
|
||||
libc = "^0.2"
|
||||
boxfnonce = "0.0.3"
|
||||
runloop = "0.1.0"
|
||||
@ -24,3 +23,4 @@ bitflags = "1.0"
|
||||
[dev-dependencies]
|
||||
rust-crypto = "^0.2"
|
||||
base64 = "^0.4"
|
||||
env_logger = "0.4.1"
|
||||
|
@ -6,9 +6,9 @@ build = "build.rs"
|
||||
license = "MPL-2.0"
|
||||
|
||||
[build-dependencies]
|
||||
env_logger = "0.4"
|
||||
env_logger = {version = "0.4", default-features = false} # disable `regex` to reduce code size
|
||||
log = "0.3"
|
||||
bindgen = "0.33.1"
|
||||
bindgen = {version = "0.33.1", default-features = false} # disable `logging` to reduce code size
|
||||
cmake = "0.1"
|
||||
glob = "0.2.11"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user