tag | c7bddb4a01fe46cf5d9127a1f70f698ab6292b2e | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Jan 30 14:48:21 2024 -0800 |
object | 9c028c2e05506fb1466ee5814d1e87dd723b6a08 |
Platform Tools Release 34.0.5 (10900879)
commit | 9c028c2e05506fb1466ee5814d1e87dd723b6a08 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Oct 04 14:50:45 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Oct 04 14:50:45 2023 +0000 |
tree | 3acbd23b39d115c06ce860bb0caa19b801291245 | |
parent | 436e56e595ad4e22bc0490e9b3c884344bbb79ed [diff] | |
parent | 17342c31c8555a3b42d23487e12ac103e21b334f [diff] |
Snap for 10900817 from 17342c31c8555a3b42d23487e12ac103e21b334f to sdk-release Change-Id: Ib97d8c87727170ebea06414b700d506e110a92a1
This crate has one feature, which is with-bytes
.
with-bytes
enables protobuf
crate support for bytes
crate: when parsing bytes or strings from bytes::Bytes
, protobuf
will be able to reference the input instead of allocating subarrays.
Note, codegen also need to be instructed to generate Bytes
or Chars
for bytes
or string
protobuf types instead of default Vec<u8>
or String
, just enabling option on this crate is not enough.
See Customize
struct in protobuf-codegen
crate.
protobuf-json-mapping
implements JSON parsing and serialization for protobuf messages.protobuf-codegen
can be used to rust code from .proto
crates.protoc-bin-vendored
contains protoc
command packed into the crate.protobuf-parse
contains .proto
file parser. Rarely need to be used directly, but can be used for mechanical processing of .proto
files.