Cargo Features
protobuf has no features set by default.
[dependencies]
protobuf = { version = "3.3.0", features = ["with-bytes"] }
- with-bytes = bytes
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features.
- bytes with-bytes?
-
Affects
message::Message.parse_from_tokio_bytes
,runtime_types::RuntimeTypeTokioBytes
,runtime_types::RuntimeTypeTokioChars
,types::ProtobufTypeTokioBytes
,types::ProtobufTypeTokioChars
…