krata: move api proto to /proto and version api

This commit is contained in:
Alex Zenla
2024-03-24 05:52:25 +00:00
parent cb6839b0f6
commit 655b8029cb
26 changed files with 41 additions and 36 deletions

View File

@ -2,7 +2,7 @@ use std::io::Result;
fn main() -> Result<()> {
prost_build::Config::new()
.extern_path(".krata.common", "::krata::common")
.compile_protos(&["proto/kratad/db.proto"], &["proto/", "../krata/proto"])?;
.extern_path(".krata.v1.common", "::krata::v1::common")
.compile_protos(&["proto/kratad/db.proto"], &["proto/", "../../proto"])?;
Ok(())
}