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 whenever lafere-api is added without default-features = false somewhere in the dependency tree.

connection default = tokio

Enables connection of lafere

Affects lafere-api::client, lafere-api::server, lafere-api::util, request::RequestHandler

encrypted = crypto

Enables encrypted of lafere

json = serde, serde_json

Enables json of lafere

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?