BitBoxSwiss / bitbox02-firmware

Firmware code of the BitBox02 hardware wallet
https://bitbox.swiss/bitbox02
Apache License 2.0
264 stars 95 forks source link

prost/protobuf: generate backup.proto for Rust #954

Closed benma closed 2 years ago

benma commented 2 years ago

Make the backup.proto protobuf messages available in Rust, so we can work with microSD backups in Rust.

The package name of backup.proto is changed as it is 100% independent of the other .proto files, which all deal with the firmware API. This results in the different file for the definitions in Rust.

The Docker image is updated because prost-build as modified and it is pre-compiled during image generation.