Cargo Features
nimiq-utils has no features set by default.
[dependencies]
nimiq-utils = { version = "1.5.0", features = ["crc", "credentials", "futures", "key-rng", "key-store", "libp2p", "merkle", "otp", "spawn", "tagged-signing", "time"] }
- crc
-
Affects
nimiq-utils::crc… - credentials = nimiq-hash, subtle
- futures
-
Enables futures-util
Affects
nimiq-utils::stream… - key-rng = rand, rand_core
-
Affects
nimiq-utils::key_rng… - key-store = log, thiserror
-
Affects
nimiq-utils::file_store… - libp2p = libp2p-identity
- merkle = nimiq-collections, nimiq-hash
-
Affects
nimiq-utils::merkle… - otp = clear_on_drop, nimiq-hash, rand
-
Affects
nimiq-utils::otp… - spawn = tokio, wasm-bindgen-futures
-
tokio:
Includes basic task execution capabilities
- tagged-signing = hex
-
Affects
nimiq-utils::tagged_signing… - time
-
Affects
nimiq-utils::time…
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.
- clear_on_drop otp?
- hex tagged-signing?
- libp2p-identity libp2p?
- log key-store?
-
Enables tracing
- rand key-rng? otp?
-
Enables rand ^0.9
- rand_core key-rng?
-
Enables rand_core ^0.9
- subtle credentials?
- thiserror key-store?
- nimiq-collections merkle?
- nimiq-hash credentials? merkle? otp?
- tokio not wasm spawn?
- wasm-bindgen-futures wasm spawn?