Cargo Features
protobuf has no features set by default.
[dependencies]
protobuf = { version = "3.7.1", 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. These features may have been created by mistake, and this functionality may be removed in the future.
- bytes with-bytes?
-
Affects
message::Message.parse_from_tokio_bytes
,runtime_types::RuntimeTypeTokioBytes
,runtime_types::RuntimeTypeTokioChars
,types::ProtobufTypeTokioBytes
,types::ProtobufTypeTokioChars
…