19 releases (5 stable)

new 1.2.0 Mar 5, 2025
1.1.0 Feb 26, 2025
1.0.1 Jan 29, 2025
0.82.0-alpha.15 Jan 15, 2025
0.82.0-alpha.0 Dec 26, 2024

#1311 in Encoding

Download history 102/week @ 2024-12-21 70/week @ 2024-12-28 929/week @ 2025-01-04 595/week @ 2025-01-11 508/week @ 2025-01-18 229/week @ 2025-01-25 68/week @ 2025-02-01 292/week @ 2025-02-08 466/week @ 2025-02-15 433/week @ 2025-02-22 538/week @ 2025-03-01

1,738 downloads per month
Used in 37 crates (28 directly)

MIT/Apache

4.5MB
97K SLoC

Protobuf definitions for Penumbra.

This crate only contains the .proto files and the Rust types generated from them. These types only handle parsing the wire format; validation should be performed by converting them into an appropriate domain type, as in the following diagram:

┌───────┐          ┌──────────────┐               ┌──────────────┐
│encoded│ protobuf │penumbra_sdk_proto│ TryFrom/Into  │ domain types │
│ bytes │<──wire ─>│    types     │<─validation ─>(other crates)│
└───────┘  format  └──────────────┘   boundary    └──────────────┘

The DomainType marker trait can be implemented on a domain type to ensure these conversions exist.

Dependencies

~30–51MB
~1M SLoC