Cargo Features
[dependencies]
trezor-connect-rs = { version = "0.2.8", default-features = false, features = ["usb", "bluetooth", "os-keychain", "psbt"] }
- default = bluetooth, usb
-
These default features are set whenever
trezor-connect-rsis added withoutsomewhere in the dependency tree.default-features = false - usb default
-
Enables rusb
USB - optional because libusb has no iOS backend
Affects
transport::usb… - bluetooth default
-
Enables btleplug ^0.11
Bluetooth - optional, works on all platforms including iOS
Affects
transport::bluetooth… - os-keychain
-
Enables keyring
OS keychain integration (optional)
- psbt
-
Enables bitcoin
Bitcoin (optional, for PSBT support)
Affects
trezor-connect-rs::psbt…