Cargo Features

[dependencies]
json-patch = { version = "3.0.1", default-features = false, features = ["diff", "utoipa"] }
default = diff

The diff feature is set by default whenever json-patch is added without default-features = false somewhere in the dependency tree.

diff default

Features from optional dependencies

utoipa implicit feature

Enables utoipa ^4.0

utoipa:

Compile time generated OpenAPI documentation for Rust