Cargo Features

human-bandwidth has no features set by default.

[dependencies]
human-bandwidth = { version = "0.1.1", features = ["serde"] }
serde

Enables serde of bandwidth and derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

Affects human-bandwidth::option, human-bandwidth::serde