8 releases
0.2.5 | Mar 14, 2023 |
---|---|
0.2.4 | Mar 25, 2022 |
0.2.3 | Jan 3, 2022 |
0.2.2 | Oct 9, 2021 |
0.1.0 | Jan 21, 2021 |
#1972 in Cryptography
34,449 downloads per month
Used in 12 crates
(9 directly)
115KB
2K
SLoC
Tink-Rust: Protobuf Definitions
This crate holds Rust structures auto-generated (using prost) from the protocol
buffer message definitions in the proto/
subdirectory. These .proto
files are copies from
the upstream Tink project.
The version of prost
used by the library is re-exported as tink_proto::prost
, to allow library users to get a
precise version match.
Features
The json
feature enables serde_json
based serialization of the structures.
License
Disclaimer
This is not an officially supported Google product.
lib.rs
:
Protocol buffer message definitions for Tink.
Almost all of the code in this crate is auto-generated (using prost) from the protocol
buffer message definitions in the proto/
subdirectory. These .proto
files are copies from
the upstream Tink project.
Manual keyset serialization implementations that map enums onto strings rather than
the i32
values used by prost.
Manual JSON serialization for KeyStatusType
enums.
Manual JSON serialization for OutputPrefixType
enums.
Manual JSON serialization for KeyMaterialType
enums.
Manual serialization implementations for base64-encoded binary data.
Dependencies
~2–4MB
~76K SLoC