Cargo Features
[dependencies]
revolt-result = { version = "0.8.4", default-features = false, features = ["serde", "schemas", "utoipa", "rocket", "axum", "okapi"] }
- default = serde
-
The
serde
feature is set by default wheneverrevolt-result
is added without
somewhere in the dependency tree.default-features = false - serde default
-
Enables serde
- schemas okapi?
-
Enables schemars
Spec Generation
- utoipa
-
Enables utoipa ^4.2.3
- rocket
-
Enables rocket
Rocket
and serde_json
Serialisation
Affects
revolt-result::rocket
… - axum
-
Enables axum ^0.7.5 and serde_json
axum:
Axum
Affects
revolt-result::axum
… - okapi = schemas
-
Enables revolt_okapi and revolt_rocket_okapi
Affects
revolt-result::okapi
…