Cargo Features

[dependencies]
tsyncp = { version = "0.3.0", default-features = false, features = ["full", "json", "prost", "bincode"] }
default = full

The full feature is set by default whenever tsyncp is added without default-features = false somewhere in the dependency tree.

full default = bincode, json, prost
json full = serde, serde_json

Affects broadcast::JsonReceiver, broadcast::JsonSender, channel::JsonChannel, mpsc::JsonSender, mpsc::JsonReceiver, multi_channel::JsonChannel

prost full

Enables prost ^0.10

Affects broadcast::ProstReceiver, broadcast::ProstSender, channel::ProstChannel, mpsc::ProstSender, mpsc::ProstReceiver, multi_channel::ProstChannel

bincode full = serde

Enables bincode

Affects broadcast::BincodeReceiver, broadcast::BincodeSender, channel::BincodeChannel, mpsc::BincodeSender, mpsc::BincodeReceiver, multi_channel::BincodeChannel

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.

serde bincode? json?
serde_json json?