Cargo Features
bitbox-api has no features set by default.
[dependencies]
bitbox-api = { version = "0.6.0", features = ["multithreaded", "usb", "simulator", "wasm", "rlp", "tokio"] }
- multithreaded
-
Implement Sync+Send for PairedBitBox and PairingBitBox. This may or may not cause trouble on macOS, see: https://github.com/libusb/hidapi/issues/503
Affects
util::Threading
… - usb
-
Enables hidapi
Affects
bitbox-api::usb
,constants::VENDOR_ID
,constants::PRODUCT_ID
,communication::FIRMWARE_CMD
… - simulator
-
Affects
bitbox-api::simulator
,communication::FIRMWARE_CMD
… - wasm
-
Enables enum-assoc, js-sys, serde-wasm-bindgen, wasm-bindgen, wasm-bindgen-futures, and web-sys, secp-lowmemory and serde of bitcoin, js of getrandom, serde of hex
Affects
communication::U2fWsCommunication
,keypath::serde_deserialize
,bitbox-api::wasm
,constants::VENDOR_ID
,constants::PRODUCT_ID
,communication::FIRMWARE_CMD
…