Cargo Features
[dependencies]
iota-client = { version = "2.0.1-rc.7", default-features = false, features = ["mqtt", "ledger_nano", "tls", "stronghold", "message_interface", "participation"] }
- default = tls
-
The
tls
feature is set by default wheneveriota-client
is added without
somewhere in the dependency tree.default-features = false - mqtt = once_cell, regex, rumqttc
-
Affects
builder::ClientBuilder.broker_options
,node_api::mqtt
… - ledger_nano = iota-ledger-nano
-
Affects
secret::ledger_nano
… - tls default
-
Enables rustls-tls of reqwest ^0.11.14
- stronghold = iota_stronghold
-
Affects
iota-client::stronghold
,secret::stronghold
,types::StrongholdDto
… - message_interface = backtrace, tokio
-
Affects
iota-client::message_interface
… - participation
-
Affects
node_api::participation
…
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.
- regex mqtt?
- rumqttc mqtt?
-
Enables rumqttc ^0.20.0
MQTT
- once_cell mqtt?
- iota-ledger-nano ledger_nano?
-
Enables iota-ledger-nano
ledger hardware wallets
- iota_stronghold stronghold?
-
Enables iota_stronghold ^1.0.5
stronghold secret manager integration
- backtrace message_interface?
-
Enables backtrace
message_interface
- tokio message_interface?