Cargo Features

[dependencies]
s-types = { version = "0.4.0", default-features = false, features = ["std", "heapsizeof", "serialize"] }
default = heapsizeof, serialize, std

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

std default serialize

Enables std of fixed-hash ^0.2.3, sbloom, and uint ^0.4.1

uint:

TODO: remove branch when https://github.com/susytech/s-common/pull/30 lands

heapsizeof default

Enables heapsizeof of fixed-hash ^0.2.3, sbloom, and uint ^0.4.1

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

Enables serialize of sbloom

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.

s-types-serialize serialize
serde serialize