Cargo Features
[dependencies]
i2cbus-api = { version = "0.1.9", default-features = false, features = ["client", "server", "conversion"] }
- default = client, server
-
These default features are set whenever
i2cbus-api
is added without
somewhere in the dependency tree.default-features = false - client default = hyper, hyper-openssl, native-tls, openssl, url
-
Affects
i2cbus-api::client
… - server default = hyper, lazy_static, percent-encoding, regex, serde_ignored, url
-
Affects
i2cbus-api::server
,i2cbus-api::context
… - conversion = frunk, frunk-enum-core, frunk-enum-derive, frunk_core, frunk_derives
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.12
Crates included if required by the API definition
Common between server and client features - serde_ignored server
-
Enables serde_ignored ^0.0.4
- url client server
-
Enables url ^1.5
- lazy_static server
-
Enables lazy_static
Server, and client callback-specific
- percent-encoding server
-
Enables percent-encoding ^1.0.0
- regex server
-
Enables regex ^0.2
- frunk conversion?
-
Enables frunk ^0.3.0
Conversion
- frunk_derives conversion?
-
Enables frunk_derives ^0.3.0
- frunk_core conversion?
-
Enables frunk_core ^0.3.0
- frunk-enum-derive conversion?
-
Enables frunk-enum-derive ^0.2.0
- frunk-enum-core conversion?
-
Enables frunk-enum-core ^0.2.0
- hyper-openssl not mac win ios client
-
Enables hyper-openssl ^0.7.1
- native-tls mac win ios client
- openssl not mac win ios client