forked from containerd/ttrpc-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
53 lines (44 loc) · 1.12 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "ttrpc-example"
version = "0.2.0"
authors = ["The AntFin Kata Team <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
keywords = ["ttrpc", "protobuf", "rpc"]
readme = "README.md"
repository = "https://github.com/alipay/ttrpc-rust"
homepage = "https://github.com/alipay/ttrpc-rust"
description = "An example of ttrpc."
[dev-dependencies]
protobuf = "3.1.0"
bytes = "0.4.11"
libc = "0.2.79"
byteorder = "1.3.2"
log = "0.4.6"
simple-logging = "2.0.2"
nix = "0.23.0"
ttrpc = { path = "../", features = ["async"] }
ctrlc = { version = "3.0", features = ["termination"] }
tokio = { version = "1.0.1", features = ["signal", "time"] }
async-trait = "0.1.42"
rand = "0.8.5"
[[example]]
name = "client"
path = "./client.rs"
[[example]]
name = "server"
path = "./server.rs"
[[example]]
name = "async-server"
path = "./async-server.rs"
[[example]]
name = "async-client"
path = "./async-client.rs"
[[example]]
name = "async-stream-server"
path = "./async-stream-server.rs"
[[example]]
name = "async-stream-client"
path = "./async-stream-client.rs"
[build-dependencies]
ttrpc-codegen = { path = "../ttrpc-codegen"}