Clean up main crate and more work on macro

Signed-off-by: Lucio Franco <[email protected]>
This commit is contained in:
Lucio Franco
2019-08-15 15:09:54 -04:00
parent 55941c0dd1
commit 0a8aaa8071
13 changed files with 438 additions and 307 deletions
+24
View File
@@ -0,0 +1,24 @@
[package]
name = "tonic-examples"
version = "0.1.0"
authors = ["Lucio Franco <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "helloworld-server"
path = "src/helloworld/server.rs"
# [[bin]]
# name = "helloworld-client"
# path = "src/helloworld/client.rs"
[dependencies]
tonic = { path = "../tonic" }
tower-h2 = { path = "../tower-h2" }
futures-preview = { version = "=0.3.0-alpha.17", default-features = false, features = ["alloc"]}
tokio = "=0.2.0-alpha.1"
prost = "0.5"
prost-derive = "0.5"
bytes = "0.4"