Cargo Features

kaspad has no features set by default.

[dependencies]
kaspad = { version = "0.13.4", features = ["heap", "devnet-prealloc"] }
heap = dhat

Enables heap of kaspa-alloc

This changes the global allocator for all of the next dependencies so should be kept first

devnet-prealloc

Enables devnet-prealloc of kaspa-consensus

Affects args::Args.num_prealloc_utxos, args::Args.prealloc_address, args::Args.prealloc_amount

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.

dhat heap?