Cargo Features
[dependencies]
zproto = { version = "0.3.5", default-features = false, features = ["ascii", "binary", "doc_cfg"] }
- default = ascii, binary
-
These default features are set whenever
zproto
is added without
somewhere in the dependency tree.default-features = false - ascii default
-
Include the ASCII protocol
Affects
zproto::ascii
… - binary default
-
Include the Binary protocol
Affects
zproto::binary
… - doc_cfg
-
Use the nightly-only
doc_cfg
feature when generating the documentation.