Cargo Features

[dependencies]
types-primitive = { version = "0.2.1", default-features = false, features = ["std", "heapsize", "byteorder", "libc", "rustc-hex", "serde", "codec", "rlp"] }
default = std

The std feature is set by default whenever types-primitive is added without default-features = false somewhere in the dependency tree.

std default rlp? serde?

Enables std of codec-impl, fixed-hash ^0.3, and uint ^0.6

heapsize

Enables heapsize of fixed-hash ^0.3 and uint ^0.6

byteorder

Enables byteorder of fixed-hash ^0.3

libc

Enables libc of fixed-hash ^0.3

rustc-hex

Enables rustc-hex of fixed-hash ^0.3

serde = impl-serde, std
codec = codec-impl
rlp = impl-rlp, std

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.

impl-serde serde?

Enables impl-serde ^0.1

codec-impl codec? std
impl-rlp rlp?

Enables impl-rlp ^0.1