Cargo Features

[dependencies]
ftl-protocol = { version = "0.0.6", default-features = false, features = ["server", "util"] }
default = server

The server feature is set by default whenever ftl-protocol is added without default-features = false somewhere in the dependency tree.

server default = async-std, async-trait, log, util

Affects ftl-protocol::server

util server = hex, rand, ring

Affects ftl-protocol::util

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.

log server

Enables log

server only

async-trait server
async-std server
ring util?

Enables ring ^0.16.20

util only

rand util?
hex util?