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