Cargo Features

[dependencies]
fixity = { version = "0.0.1", default-features = false, features = ["debug_checks", "deser_json", "deser_borsh", "structopt"] }
default = debug_checks, deser_borsh, deser_json

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

debug_checks default

Whether or not to enable moderately costly runtime safety checks of store content, tree structure integrity checks, etc.

deser_json default = cjson, serde, serde_json

An eventual series of alternate serialize for performance options.

WARN: All of the canonical json libraries i've seen so far are in various states of abandon. This lib should not be trusted until we can fork and establish some trust.

Affects deser::Serialize, deser::Deserialize

deser_borsh default = borsh

Affects deser::Serialize, deser::Deserialize, deser::Serialize, deser::Deserialize

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.

borsh deser_borsh

Enables borsh ^0.9

feature: deser_borsh

Affects value::serialize, value::deserialize, value::deserialize_with_addr

cjson deser_json

Enables cjson

feature: deser_json

serde deser_json
serde_json deser_json
structopt implicit feature

Enables structopt

optionally include structopt on config structures for CLI lib users.