xref: /tonic/tests/wellknown-compiled/src/lib.rs (revision ff6a690c)
1 pub mod gen {
2     pub mod google {
3         pub mod protobuf {
4             tonic::include_proto!("google.protobuf");
5         }
6     }
7 
8     pub mod test {
9         tonic::include_proto!("test");
10     }
11 }
12 
grok()13 pub fn grok() {
14     let _any = crate::gen::google::protobuf::Any {
15         type_url: "foo".to_owned(),
16         value: Vec::new(),
17     };
18 }
19