Cargo Features
[dependencies]
rocket-autodocu = { version = "0.9.1", default-features = false, features = ["preserve_order", "swagger", "rapidoc", "uuid", "msgpack", "secrets"] }
- default = preserve_order
-
The
preserve_order
feature is set by default wheneverrocket-autodocu
is added without
somewhere in the dependency tree.default-features = false - preserve_order default
-
Preserve the order of items in schema and other part of the OpenAPI documentation.
Enables preserve_order of autodocu and schemars
- swagger
-
Feature to enable Swagger UI for rendering documentation Project: https://github.com/swagger-api/swagger-ui
Affects
rocket-autodocu::swagger_ui
… - rapidoc
-
Feature to enable RapiDoc for rendering documentation Project: https://github.com/mrin9/RapiDoc
Affects
rocket-autodocu::rapidoc
… - uuid
-
Allow the use of UUIDs
- msgpack
-
Re-export Rocket feature flag https://docs.rs/rocket/0.5.0-rc.1/rocket/serde/msgpack/struct.MsgPack.html
- secrets
-
Re-export Rocket feature flag https://rocket.rs/v0.5-rc/guide/requests/#secret-key