Cargo Features

[dependencies]
stdto_core = { version = "0.14.0", default-features = false, features = ["serde", "bytes", "hash", "json", "yaml", "toml", "file", "hex"] }
default = bytes, file, hash, hex, json, serde, toml, yaml

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

serde default bytes json toml yaml

Enables derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

bytes default hash = serde

Enables bincode and borsh ^0.10.2

Affects traits::ToBytesOptions, traits::ToBytes, traits::ToBorshBytes

hash default = bytes

Enables digest

Affects traits::ToHash

json default file = serde

Enables serde_json

Affects traits::ToJson

yaml default file = serde

Enables serde_yaml

Affects traits::ToYaml

toml default file = serde

Enables toml ^0.5

Affects traits::ToToml

file default = json, toml, yaml
hex default

Affects traits::ToHex