Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
survived committed Mar 14, 2022
1 parent 318f5e6 commit d2eecd8
Show file tree
Hide file tree
Showing 11 changed files with 1,207 additions and 404 deletions.
223 changes: 223 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ members = [
"round-based-derive",
"round-based-ing",
"delivery/core",
"delivery/trusted-delivery/api",
"delivery/trusted-delivery/core",
"delivery/trusted-delivery/client",
"delivery/trusted-delivery/server",
Expand Down
14 changes: 14 additions & 0 deletions delivery/trusted-delivery/api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "trusted-delivery-api"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
tonic = "0.6"
prost = "0.9"

[build-dependencies]
anyhow = "1"
tonic-build = "0.6"
6 changes: 6 additions & 0 deletions delivery/trusted-delivery/api/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
fn main() -> anyhow::Result<()> {
tonic_build::configure()
.out_dir("./src")
.compile(&["./proto/trusted_delivery.proto"], &["./proto"])?;
Ok(())
}
Loading

0 comments on commit d2eecd8

Please sign in to comment.