Cargo Features

tari_utilities = { version = "0.7.0", default-features = false, features = ["std", "zero", "serialize", "borsh"] }
default = serialize, std, zero

These default features are set whenever tari_utilities is added without default-features = false somewhere in the dependency tree.

std default = base58-monero, newtype-ops, subtle

Affects tari_utilities::encoding, tari_utilities::epoch_time, tari_utilities::safe_array

zero default

Enables alloc of zeroize

serialize default = base64, bincode, newtype-ops, serde, serde_json

Enables borsh

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.

base58-monero std

Enables base58-monero ^0.3

base64 serialize

Enables base64 ^0.13

bincode serialize
newtype-ops serialize std
serde serialize

Affects hex::serialize_to_hex, tari_utilities::message_format, tari_utilities::serde

serde_json serialize
zeroize zero

Affects tari_utilities::hidden, tari_utilities::password

subtle std