Cargo Features

xgboost-rs has no features set by default.

[dependencies]
xgboost-rs = { version = "0.3.0", features = ["use_serde"] }
use_serde = serde

Features from optional dependencies

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

serde use_serde?