first commit

This commit is contained in:
yves committed 2026-11-20 21:47:33 +01:00
commit 6d3ea3e2a6
43 files changed
+8204

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
//! Compiles `proto/meow.proto` with protox (pure Rust): no `protoc` required.
fn main() -> Result<(), Box<dyn std::error::Error>> {
let proto_dir = "../../proto";
let file = format!("{proto_dir}/meow.proto");
println!("cargo:rerun-if-changed={file}");
let fds = protox::compile([file], [proto_dir])?;
prost_build::Config::new().compile_fds(fds)?;
Ok(())
}