Cargo Features
[dependencies]
fatcat-openapi = { version = "0.3.1", default-features = false, features = ["client", "server", "multipart"] }
- default = client, server
-
These default features are set whenever
fatcat-openapi
is added without
somewhere in the dependency tree.default-features = false - client default = hyper, hyper-openssl, serde_ignored, serde_json, uuid
-
Affects
fatcat-openapi::client
… - server default = bodyparser, hyper, iron, router, serde_ignored, serde_json, urlencoded, uuid
-
Affects
fatcat-openapi::server
…
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.
- hyper client server
-
Enables hyper ^0.10
- hyper-openssl client
-
Enables hyper-openssl ^0.2
- iron server
- bodyparser server
-
Enables bodyparser
Not required by example server.
- multipart implicit feature
-
Enables multipart ^0.13
- router server
- serde_ignored client server
-
Enables serde_ignored ^0.0.4
- serde_json client server
- urlencoded server
- uuid client server
-
Enables uuid ^0.5