Cargo Features

okapi-operation = { version = "0.3.0-rc1", default-features = false, features = ["macro", "axum-integration", "yaml"] }
default = macro

The macro feature is set by default whenever okapi-operation is added without default-features = false somewhere in the dependency tree.

macro default = okapi-operation-macro
axum-integration = axum, paste, tower

Affects okapi-operation::axum_integration

yaml = serde_yaml

Features from optional dependencies

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

okapi-operation-macro macro
axum axum-integration?
tower axum-integration?
paste axum-integration?
serde_yaml yaml?

Enables serde_yaml ^0.8