Cargo Features

[dependencies]
ipnetwork = { version = "0.20.0", default-features = false, features = ["schemars", "serde"] }
default = serde

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

Features from optional dependencies

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

schemars implicit feature

Enables schemars

schemars:

Generate JSON Schemas from Rust code

serde default