Cargo Features
[dependencies]
async-hwi = { version = "0.0.24", default-features = false, features = ["bitbox", "coldcard", "specter", "jade", "ledger", "regex"] }
- default = bitbox, coldcard, jade, ledger, specter
-
These default features are set whenever
async-hwi
is added without
somewhere in the dependency tree.default-features = false - bitbox default = bitbox-api, hidapi, regex, tokio
-
Affects
async-hwi::bitbox
… - coldcard default = regex
-
Enables coldcard
Affects
async-hwi::coldcard
… - specter default = serialport, tokio, tokio-serial
-
Affects
async-hwi::specter
… - jade default = reqwest, serde, serde_bytes, serde_cbor, serialport, tokio, tokio-serial
-
Affects
async-hwi::jade
… - ledger default = hidapi, ledger-apdu, ledger-transport-hidapi, ledger_bitcoin_client, regex, tokio
-
Affects
async-hwi::ledger
… - regex bitbox coldcard ledger
-
Enables regex
Affects
async-hwi::parse_version
,utils::extract_keys_and_template
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- tokio-serial jade specter
-
Enables tokio-serial
specter & jade
- serialport jade specter
- serde jade
-
Enables serde
jade
- serde_bytes jade
- serde_cbor jade
- reqwest jade
-
Enables reqwest ^0.11
- bitbox-api bitbox
-
Enables bitbox-api
bitbox
- ledger_bitcoin_client ledger
-
Enables ledger_bitcoin_client ^0.4.1
ledger
- ledger-apdu ledger
-
Enables ledger-apdu ^0.10
- ledger-transport-hidapi ledger
- hidapi bitbox ledger
-
Enables hidapi
bitbox & ledger
- tokio bitbox jade ledger specter
-
Enables tokio
jade & specter & ledger & bitbox