Cargo Features

[dependencies]
sophon-types = { version = "0.5.2", default-features = false, features = ["std", "heapsize", "serialize"] }
default = heapsize, serialize, std

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

Enables byteorder and rustc-hex of fixed-hash ^0.3

std default serialize

Enables std of crunchy, ethbloom ^0.6, fixed-hash ^0.3, and uint ^0.5

heapsize default

Enables heapsize of ethbloom ^0.6, fixed-hash ^0.3, and uint ^0.5

serialize default = serde, sophon-types-serialize, std

Enables serialize of ethbloom ^0.6

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.

sophon-types-serialize serialize
serde serialize