Cargo Features

[dependencies]
etospheres-labs-iota-sdk = { version = "1.1.5", default-features = false, features = ["std", "events", "irc_30", "jammdb", "ledger_nano", "mqtt", "participation", "pow", "rand", "rocksdb", "serde", "storage", "stronghold", "tls", "private_key_secret_manager", "client", "wallet", "fern-logger", "wasm-bindgen-futures"] }
default = client, tls, wallet

These default features are set whenever etospheres-labs-iota-sdk is added without default-features = false somewhere in the dependency tree.

std mqtt? pow?

Enables use_std of itertools ^0.12.1, std_rng of optional rand ^0.8.5, std of optional regex, std of packable ^0.8.3, prefix-hex, primitive-types ^0.12.2, and optional once_cell and std of bech32 ^0.9.1, bitflags, iota-crypto, and optional iota_stronghold

bech32:

Mandatory dependencies

events

Affects wallet::events

irc_27 irc_30 = serde, url
jammdb = storage

Enables jammdb

Affects adapter::jammdb, constants::JAMMDB_FOLDERNAME

ledger_nano = iota-ledger-nano

Affects secret::ledger_nano

mqtt = regex, rumqttc, std, tls

Enables once_cell

Affects builder::ClientBuilder.broker_options, node_api::mqtt

participation = storage

Affects node_api::participation, types::participation

pow client = num_cpus, std

Enables curl-p of iota-crypto

Affects etospheres-labs-iota-sdk::pow

rand

Enables rand ^0.8.5

Affects block::rand

rocksdb = storage

Enables rocksdb ^0.21.0

Affects adapter::rocksdb

serde client irc_27? irc_30? = serde_repr

Enables serde_no_std of primitive-types ^0.12.2, serde of hashbrown ^0.14.3 and packable ^0.8.3, serde of optional zeroize

Affects address::dto, input::dto, feature::dto, output::dto, unlock_condition::dto, milestone::dto, types::api, utils::serde

storage jammdb? participation? rocksdb?

Enables once_cell, time, and web-sys, chacha of iota-crypto and anymap3 and heck ^0.4.1

anymap3:

Optional dependencies

Affects wallet::storage, options::StorageOptions, wallet::migration

stronghold = iota_stronghold

Enables anymap3 and heck ^0.4.1, once_cell and time, chacha of iota-crypto

Affects client::stronghold, secret::stronghold, types::StrongholdDto, migration::latest_backup_migration_version, wallet::migration

tls default mqtt?

Enables rustls-tls of optional reqwest ^0.11.24, use-rustls of optional rumqttc ^0.23.0

private_key_secret_manager = bs58

Affects secret::private_key

client default wallet = async-trait, futures, instant, log, pow, reqwest, serde, thiserror, tokio, url, zeroize

Enables bip39, bip39-en, bip44, keccak, random and slip10 of iota-crypto

Affects etospheres-labs-iota-sdk::client, serde::bip44

wallet default = client

Affects etospheres-labs-iota-sdk::wallet, etospheres-labs-iota-sdk::Wallet

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.

async-trait client
bs58 private_key_secret_manager?
fern-logger implicit feature

Enables fern-logger

fern-logger:

Convenient and configurable multi-output logger

futures client
instant client

Affects utils::unix_timestamp_now

iota-ledger-nano ledger_nano?
iota_stronghold stronghold?
log client
num_cpus pow?
regex mqtt?
reqwest client

Enables reqwest ^0.11.24

rumqttc mqtt?

Enables rumqttc ^0.23.0

serde_repr serde?
thiserror client

Enables thiserror ^1.0.57

url client irc_27? irc_30?
zeroize client
tokio not wasm wasm client
wasm-bindgen-futures wasm implicit feature

Enables wasm-bindgen-futures

wasm-bindgen-futures:

Bridging the gap between Rust Futures and JavaScript Promises