Cargo Features

[dependencies]
size = { version = "0.5.0-preview2", default-features = false, features = ["std", "serde"] }
default = std

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

std default serde?

Affects size::fmt

serde = std

Enables serde