forked from containerd/rust-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
57 lines (46 loc) · 1.37 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
54
55
56
57
[package]
name = "containerd-shim-protos"
version = "0.2.0"
authors = ["Maksym Pavlenko <[email protected]>", "The containerd Authors"]
description = "TTRPC bindings for containerd shim interfaces"
keywords = ["containerd", "shim", "containers", "ttrpc", "client"]
categories = ["api-bindings"]
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
[dependencies]
protobuf = "3.1"
ttrpc = "0.7"
async-trait = { version = "0.1.48", optional = true }
[build-dependencies]
ttrpc-codegen = "0.4"
[dev-dependencies]
ctrlc = { version = "3.0", features = ["termination"] }
log = "0.4"
simple_logger = { version = "4.0", default-features = false, features = ["stderr"] }
tokio = { workspace = true, features = ["full"] }
[features]
default = []
async = ["ttrpc/async", "async-trait"]
[[example]]
name = "shim-proto-server"
path = "examples/ttrpc-server.rs"
[[example]]
name = "shim-proto-client"
path = "examples/ttrpc-client.rs"
[[example]]
name = "shim-proto-connect"
path = "examples/connect.rs"
[[example]]
name = "shim-proto-server-async"
path = "examples/ttrpc-server-async.rs"
required-features = ["async"]
[[example]]
name = "shim-proto-client-async"
path = "examples/ttrpc-client-async.rs"
required-features = ["async"]
[[example]]
name = "shim-proto-connect-async"
path = "examples/connect-async.rs"
required-features = ["async"]