Cargo Features

nimiq-utils has no features set by default.

[dependencies]
nimiq-utils = { version = "0.2.0", features = ["crc", "iterators", "locking", "merkle", "mutable-once", "observer", "time", "timers", "unique-ptr", "throttled-queue", "rate-limit", "unique-id", "all", "full-nimiq"] }
crc all? full-nimiq?

Affects nimiq-utils::crc

iterators all? full-nimiq?

Affects nimiq-utils::iterators

locking all? full-nimiq? = futures, parking_lot

Affects nimiq-utils::locking

merkle all? full-nimiq? = beserial, bit-vec, nimiq-hash

Affects nimiq-utils::merkle

mutable-once all? full-nimiq?

Affects nimiq-utils::mutable_once

observer all? full-nimiq?

Affects nimiq-utils::observer

time all? full-nimiq?

Affects nimiq-utils::time

timers all? full-nimiq? = futures, log, parking_lot, tokio

Affects nimiq-utils::timers

unique-ptr all? full-nimiq?

Affects nimiq-utils::unique_ptr

throttled-queue all? = nimiq-collections

Affects nimiq-utils::throttled_queue

rate-limit all?

Affects nimiq-utils::rate_limit

unique-id all?

Affects nimiq-utils::unique_id

all = bit-vec, crc, iterators, locking, merkle, mutable-once, observer, rate-limit, throttled-queue, time, timers, unique-id, unique-ptr

Compiles this package with all features.

full-nimiq = crc, iterators, locking, merkle, mutable-once, observer, time, timers, unique-ptr

Compiles this package with the features needed for the nimiq client.

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.

bit-vec all? merkle?

Enables bit-vec ^0.5

Affects nimiq-utils::bit_vec

futures locking? timers?

Enables futures ^0.1

parking_lot locking? timers?

Enables parking_lot ^0.7

tokio timers?

Enables tokio ^0.1

log timers?
nimiq-hash merkle?
beserial merkle?
nimiq-collections throttled-queue?