Cargo Features

B3Utils has no features set by default.

[dependencies]
b3_utils = { version = "0.10.0", features = ["exprimental_vetkd", "stable_memory", "ledger", "owner", "sha256", "wasm", "rpc", "logging"] }
exprimental_vetkd = ic_bls12_381, subtle

Affects b3_utils::vetkd

stable_memory owner? = ic-stable-structures

Affects b3_utils::memory, b3_utils::principal

ledger = crc32fast, num-traits, sha2, wasm

Affects b3_utils::ledger

owner = stable_memory

Affects b3_utils::owner

sha256 = sha2
wasm ledger? = sha2

Affects b3_utils::wasm

rpc = serde_json

Affects b3_utils::rpc

logging

Affects b3_utils::logs, utils::report_log, utils::panic_log

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.

num-traits ledger?
crc32fast ledger?
sha2 ledger? sha256? wasm?

Affects b3_utils::sha2

subtle exprimental_vetkd?
serde_json rpc?
ic-stable-structures stable_memory?
ic_bls12_381 exprimental_vetkd?

Enables ic_bls12_381 ^0.8