Cargo Features

[dependencies]
ya-relay-proto = { version = "0.4.3", default-features = false, features = ["codec"] }
default = codec

The codec feature is set by default whenever ya-relay-proto is added without default-features = false somewhere in the dependency tree.

codec default = bytes, derive_more, futures, thiserror, tokio, tokio-util

Affects ya-relay-proto::codec

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.

bytes codec
derive_more codec
futures codec
thiserror codec
tokio codec
tokio-util codec