Cargo Features

bytecodec has no features set by default.

[dependencies]
bytecodec = { version = "0.4.15", features = ["bincode_codec", "json_codec", "tokio-async"] }
bincode_codec = bincode, serde

Affects bytecodec::bincode_codec

json_codec = serde, serde_json

Affects bytecodec::json_codec

tokio-async = pin-project, tokio

Affects io::IoEncodeExt.encode_to_write_buf_async, bytecodec::io_async

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.

bincode bincode_codec?
serde bincode_codec? json_codec?
serde_json json_codec?
tokio tokio-async?
pin-project tokio-async?