Cargo Features
protobuf3 has no features set by default.
[dependencies]
protobuf3 = { version = "2.27.2", features = ["with-bytes", "with-serde"] }
- with-bytes = bytes
- with-serde = serde, serde_derive
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_carllerche_bytes
,message::parse_from_carllerche_bytes
,rt::read_repeated_carllerche_string_into
,rt::read_singular_carllerche_string_into
,rt::read_singular_proto3_carllerche_string_into
,rt::read_repeated_carllerche_bytes_into
,rt::read_singular_carllerche_bytes_into
,rt::read_singular_proto3_carllerche_bytes_into
,types::ProtobufTypeCarllercheBytes
,types::ProtobufTypeCarllercheChars
… - serde with-serde?
- serde_derive with-serde?