Server implemented. Linux client implemented.

This commit is contained in:
2026-03-10 15:33:06 +00:00
parent 0040ae531c
commit a5da1c3a34
20 changed files with 3302 additions and 0 deletions

12
furumi-common/build.rs Normal file
View File

@@ -0,0 +1,12 @@
fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("cargo:rerun-if-changed=proto/virtualfs.proto");
unsafe {
std::env::set_var("PROTOC", protobuf_src::protoc());
}
tonic_build::configure()
.build_server(true)
.build_client(true)
.compile_protos(&["proto/virtualfs.proto"], &["proto"])?;
Ok(())
}