Cargo Features
[dependencies]
tari_utilities = { version = "0.8.0", default-features = false, features = ["std", "serialize", "borsh"] }
- default = serialize, std
-
These default features are set whenever
tari_utilities
is added without
somewhere in the dependency tree.default-features = false - std default = base58-monero, newtype-ops
-
Affects
tari_utilities::encoding
,tari_utilities::epoch_time
… - serialize default = base64, bincode, newtype-ops, serde, serde_json
- borsh
-
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
- 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