tag | 40da8521610fff61dc8ca3847bf382234c77bc0f | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Apr 15 11:21:21 2024 -0700 |
object | 3c478cb114b457d56142069c83d9ac146b0580f8 |
Android 14.0.0 Release 32 (AP1A.240405.002.A2)
commit | 3c478cb114b457d56142069c83d9ac146b0580f8 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Dec 06 00:16:08 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Dec 06 00:16:08 2023 +0000 |
tree | 5b8f6d934520f205ebf8aa8afe699e30fa8b4b1c | |
parent | 61f877574a9493b5f77c890d0afbff5f8b95469a [diff] | |
parent | da59a6748d27ffc0824d0f4cf68d2a89ad2b55a3 [diff] |
Snap for 11180250 from da59a6748d27ffc0824d0f4cf68d2a89ad2b55a3 to 24Q1-release Change-Id: I3676d75b8baf0907a7d725a64b9465516dfc9fa2
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.