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