Cargo Features
openapi-struct-gen has no features set by default.
[dependencies]
openapi-struct-gen = { version = "0.1.13", features = ["build"] }
- build = check_keyword, codegen, heck, indexmap, openapiv3, serde_json, serde_yaml
-
Affects
openapi-struct-gen::error
,openapi-struct-gen::generate
…
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.
- openapiv3 build?
-
Enables openapiv3 ^1.0.2
- serde_json build?
- serde_yaml build?
- indexmap build?
-
Enables indexmap ^1.0
- heck build?
-
Enables heck ^0.4.0
- codegen build?
-
Enables codegen ^0.1.3
- check_keyword build?
-
Enables check_keyword ^0.2