xref: /tonic/tests/root-crate-path/src/main.rs (revision a562a3ce)
1 #[allow(clippy::derive_partial_eq_without_eq)]
2 #[derive(Clone, PartialEq, ::prost::Message)]
3 pub struct Animal {
4     #[prost(string, optional, tag = "1")]
5     pub name: ::core::option::Option<::prost::alloc::string::String>,
6 }
7 
8 // pub mod foo;
9 
10 pub mod foo {
11     pub mod bar {
12         pub mod baz {
13             tonic::include_proto!("foo.bar.baz");
14         }
15     }
16 }
17 
18 fn main() {
19     println!("Hello, world!");
20 }
21