miden_note_transport_proto_build/
lib.rs

1use protox::prost::Message;
2use tonic_prost_build::FileDescriptorSet;
3
4/// Returns the Protobuf file descriptor for the Miden Note Transport API.
5pub fn mnt_api_descriptor() -> FileDescriptorSet {
6    let bytes =
7        include_bytes!(concat!(env!("OUT_DIR"), "/", "miden_note_transport_file_descriptor.bin"));
8    FileDescriptorSet::decode(&bytes[..])
9        .expect("bytes should be a valid file descriptor created by build.rs")
10}