Cargo Features
[dependencies]
lafere-api = { version = "0.1.0", default-features = false, features = ["connection", "encrypted", "json", "protobuf"] }
- default = connection
-
The
connection
feature is set by default wheneverlafere-api
is added without
somewhere in the dependency tree.default-features = false - connection default = tokio
-
Enables connection of lafere
Affects
lafere-api::client
,lafere-api::server
,lafere-api::util
,request::RequestHandler
… - encrypted = crypto
- json = serde, serde_json
-
Affects
encdec::json
… - protobuf
-
Enables protopuffer
Affects
encdec::protobuf
…
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.
- crypto encrypted?
-
Enables chuchi-crypto
- tokio connection
- serde json?
- serde_json json?