7
examples/basic-setup/schemas/crunch/my_event.proto
Normal file
7
examples/basic-setup/schemas/crunch/my_event.proto
Normal file
@@ -0,0 +1,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package test.can.generate.output.rust;
|
||||
|
||||
message MyEvent {
|
||||
string name = 1;
|
||||
}
|
1
examples/basic-setup/src/crunch/mod.rs
Normal file
1
examples/basic-setup/src/crunch/mod.rs
Normal file
@@ -0,0 +1 @@
|
||||
pub mod test_can_generate_output_rust { include!("test.can.generate.output.rust.rs"); }
|
@@ -0,0 +1,5 @@
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct MyEvent {
|
||||
#[prost(string, tag="1")]
|
||||
pub name: std::string::String,
|
||||
}
|
Reference in New Issue
Block a user