Fixed NFC feature flag
This commit is contained in:
@@ -28,7 +28,7 @@ ram_storage = []
|
||||
verbose = ["debug_ctap", "libtock_drivers/verbose_usb"]
|
||||
with_ctap1 = ["crypto/with_ctap1"]
|
||||
with_ctap2_1 = []
|
||||
with_nfc = []
|
||||
with_nfc = ["libtock_drivers/with_nfc"]
|
||||
|
||||
[dev-dependencies]
|
||||
elf2tab = "0.6.0"
|
||||
|
||||
1
third_party/libtock-drivers/Cargo.toml
vendored
1
third_party/libtock-drivers/Cargo.toml
vendored
@@ -14,3 +14,4 @@ libtock_core = { path = "../../third_party/libtock-rs/core" }
|
||||
[features]
|
||||
debug_ctap = []
|
||||
verbose_usb = ["debug_ctap"]
|
||||
with_nfc=[]
|
||||
|
||||
1
third_party/libtock-drivers/src/lib.rs
vendored
1
third_party/libtock-drivers/src/lib.rs
vendored
@@ -3,6 +3,7 @@
|
||||
pub mod buttons;
|
||||
pub mod console;
|
||||
pub mod led;
|
||||
#[cfg(feature = "with_nfc")]
|
||||
pub mod nfc;
|
||||
pub mod result;
|
||||
pub mod rng;
|
||||
|
||||
Reference in New Issue
Block a user