forked from containerd/rust-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
65 lines (53 loc) · 1.48 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
58
59
60
61
62
63
64
65
[package]
name = "containerd-shim-protos"
version = "0.7.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", "asynchronous"]
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
[features]
default = []
async = ["ttrpc/async", "async-trait"]
sandbox = []
docs = []
[[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"]
[dependencies]
async-trait = { workspace = true, optional = true }
protobuf = "=3.5"
ttrpc = "0.8"
[build-dependencies]
ttrpc-codegen = "0.4"
[dev-dependencies]
ctrlc = { version = "3.0", features = ["termination"] }
simple_logger = { workspace = true, features = ["stderr"] }
tokio = { workspace = true, features = ["full"] }
crossbeam.workspace = true # Used by create_ttrpc_context()
[package.metadata.docs.rs]
features = ["docs"]