#protobuf #tink

tink-proto

Protocol buffer message definitions for Rust port of Google's Tink cryptography library

9 releases

0.3.0 Nov 28, 2024
0.2.5 Mar 14, 2023
0.2.4 Mar 25, 2022
0.2.3 Jan 3, 2022
0.1.0 Jan 21, 2021

#850 in Cryptography

Download history 8606/week @ 2024-08-17 13408/week @ 2024-08-24 6506/week @ 2024-08-31 9994/week @ 2024-09-07 7261/week @ 2024-09-14 8859/week @ 2024-09-21 16609/week @ 2024-09-28 3193/week @ 2024-10-05 13536/week @ 2024-10-12 7722/week @ 2024-10-19 11543/week @ 2024-10-26 1552/week @ 2024-11-02 22406/week @ 2024-11-09 30135/week @ 2024-11-16 6105/week @ 2024-11-23 19057/week @ 2024-11-30

79,067 downloads per month
Used in 12 crates (9 directly)

Apache-2.0

110KB
2K SLoC

Tink-Rust: Protobuf Definitions

Docs MSRV

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

Apache License, Version 2.0

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 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

~0.2–2.2MB
~32K SLoC