Cargo Features

sketches_ddsketch has no features set by default.

[dependencies]
sketches-ddsketch = { version = "0.2.2", features = ["use_serde"] }
use_serde = serde

Enables serde

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde use_serde?