Cargo Features

[dependencies]
product-os-openapi = { version = "0.0.4", default-features = false, features = ["openapi", "test"] }
default = openapi

These default features are set whenever product-os-openapi is added without default-features = false somewhere in the dependency tree.

Enables std of no-std-compat

openapi default

Enables alloc of serde_json and derive of serde

JSON data representation

test

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde openapi
serde_json openapi

Enables serde_json

JSON data representation