diff --git a/Cargo.toml b/Cargo.toml index 168526c..a2a3a73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,3 +12,7 @@ pin-project = "1.0.10" ledger_device_sdk = "1.4.3" ledger_secure_sdk_sys = "1.1.0" ledger-parser-combinators = { git = "https://github.com/alamgu/ledger-parser-combinators", branch="async-split-take-2" } + +[features] +default = [] +prompts = [] \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index 9a75820..14b0635 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -94,6 +94,7 @@ use core::convert::TryInto; use core::task::*; use ledger_device_sdk::io::Reply; //, BorrowMutError}; +#[cfg(feature = "prompts")] pub mod prompts; #[repr(u8)]