feat(tvix/store): use tonic-build for protos
While prost-build already exposes protobuf message types as structs, we actually need tonic-build too, to be able to get traits for all the RPC services defined in the proto files. Change-Id: I7f4c08454bf0d280d577975c7cdae13ccc2d933b Reviewed-on: https://cl.tvl.fyi/c/depot/+/7320 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
7fbac93940
commit
3676ce8d6d
5 changed files with 2334 additions and 20 deletions
|
@ -1,6 +1,6 @@
|
|||
use prost::Message;
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/tvix.store.v1.rs"));
|
||||
tonic::include_proto!("tvix.store.v1");
|
||||
|
||||
impl Directory {
|
||||
// The size of a directory is the number of all regular and symlink elements,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue