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 
7 pub(crate) const RUSTPROTO_PROTO: &str = include_str!("rustproto.proto");
8 pub(crate) const ANY_PROTO: &str = include_str!("google/protobuf/any.proto");
9 pub(crate) const API_PROTO: &str = include_str!("google/protobuf/api.proto");
10 pub(crate) const DESCRIPTOR_PROTO: &str = include_str!("google/protobuf/descriptor.proto");
11 pub(crate) const DURATION_PROTO: &str = include_str!("google/protobuf/duration.proto");
12 pub(crate) const EMPTY_PROTO: &str = include_str!("google/protobuf/empty.proto");
13 pub(crate) const FIELD_MASK_PROTO: &str = include_str!("google/protobuf/field_mask.proto");
14 pub(crate) const SOURCE_CONTEXT_PROTO: &str = include_str!("google/protobuf/source_context.proto");
15 pub(crate) const STRUCT_PROTO: &str = include_str!("google/protobuf/struct.proto");
16 pub(crate) const TIMESTAMP_PROTO: &str = include_str!("google/protobuf/timestamp.proto");
17 pub(crate) const TYPE_PROTO: &str = include_str!("google/protobuf/type.proto");
18 pub(crate) const WRAPPERS_PROTO: &str = include_str!("google/protobuf/wrappers.proto");
19