Cargo Features

[dependencies]
fire-stream-api = { version = "0.3.4", default-features = false, features = ["connection", "encrypted", "json", "protobuf"] }
default = connection

The connection feature is set by default whenever fire-stream-api is added without default-features = false somewhere in the dependency tree.

connection default = tokio

Enables connection of fire-stream

Affects fire-stream-api::util, fire-stream-api::client, fire-stream-api::server, request::RequestHandler

encrypted = crypto

Enables encrypted of fire-stream

json = serde, serde_json

Enables json of fire-stream

Affects encdec::json

protobuf = fire-protobuf

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 fire-crypto

tokio connection
serde json?
serde_json json?
fire-protobuf protobuf?