19 lines
565 B
Rust
19 lines
565 B
Rust
|
fn main() {
|
||
|
tonic_build::configure()
|
||
|
.build_server(false)
|
||
|
//.out_dir("src/google") // you can change the generated code's location
|
||
|
.compile(
|
||
|
&[
|
||
|
"protobufs/bots.proto",
|
||
|
"protobufs/datastore.proto",
|
||
|
"protobufs/events.proto",
|
||
|
"protobufs/maps.proto",
|
||
|
"protobufs/ranks.proto",
|
||
|
"protobufs/servers.proto",
|
||
|
"protobufs/times.proto",
|
||
|
"protobufs/transactions.proto",
|
||
|
"protobufs/users.proto",
|
||
|
],
|
||
|
&["protobufs"]
|
||
|
).unwrap();
|
||
|
}
|