tag | c2067d8810f9658d3089341721704163f1c5f02a | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Nov 01 17:07:05 2023 -0700 |
object | b08d1eb1df343f80a22b15429ccf25ee964a63f6 |
frc_340819190 (10894928,com.google.android.healthfitness)
commit | b08d1eb1df343f80a22b15429ccf25ee964a63f6 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu May 11 18:06:15 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu May 11 18:06:15 2023 +0000 |
tree | 971c49e3e23c1508cd5d3449db1162011f57ccc6 | |
parent | fbe07febcffacc9e06ba950d0732a131745ea927 [diff] | |
parent | d1bb8f2216f3887b64d180cb9b7404fa45aa83df [diff] |
Snap for 10078606 from d1bb8f2216f3887b64d180cb9b7404fa45aa83df to aml-frc-release Change-Id: I2ec24642afa2506e70f7dd46abb3d7a422b62752
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.