protobuf_parse/proto/
mod.rs

1//! This folder contains copy of .proto files
2//! needed for pure codegen.
3//!
4//! Files are copied here because when publishing to crates,
5//! referencing files from outside is not allowed.
6
7pub(crate) const RUSTPROTO_PROTO: &str = include_str!("rustproto.proto");
8pub(crate) const ANY_PROTO: &str = include_str!("google/protobuf/any.proto");
9pub(crate) const API_PROTO: &str = include_str!("google/protobuf/api.proto");
10pub(crate) const DESCRIPTOR_PROTO: &str = include_str!("google/protobuf/descriptor.proto");
11pub(crate) const DURATION_PROTO: &str = include_str!("google/protobuf/duration.proto");
12pub(crate) const EMPTY_PROTO: &str = include_str!("google/protobuf/empty.proto");
13pub(crate) const FIELD_MASK_PROTO: &str = include_str!("google/protobuf/field_mask.proto");
14pub(crate) const SOURCE_CONTEXT_PROTO: &str = include_str!("google/protobuf/source_context.proto");
15pub(crate) const STRUCT_PROTO: &str = include_str!("google/protobuf/struct.proto");
16pub(crate) const TIMESTAMP_PROTO: &str = include_str!("google/protobuf/timestamp.proto");
17pub(crate) const TYPE_PROTO: &str = include_str!("google/protobuf/type.proto");
18pub(crate) const WRAPPERS_PROTO: &str = include_str!("google/protobuf/wrappers.proto");