forked from containerd/rust-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
30 lines (26 loc) · 1 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
[package]
name = "containerd-client"
version = "0.1.2"
authors = ["Maksym Pavlenko <[email protected]>", "The containerd Authors"]
edition = "2018"
license = "Apache-2.0"
repository = "https://github.com/containerd/rust-extensions"
description = "GRPC bindings to containerd APIs"
keywords = ["containerd", "client", "grpc", "containers"]
categories = ["api-bindings", "asynchronous"]
homepage = "https://containerd.io"
[dependencies]
tonic = "0.6"
prost = "0.9"
prost-types = "0.9"
tokio = { version = "1.1", optional = true }
tower = { version = "0.4", optional = true }
[build-dependencies]
tonic-build = "0.6"
[features]
connect = ["tokio", "tower"]
# Technically Tonic doesn't require Tokio and Tower dependencies here.
# However we need them to implement `connect` helper and it's highly unlikely
# that Tonic will be used with any other async runtime (see https://github.com/hyperium/tonic/issues/152)
# So we enable `connect` feature by default (use `--no-default-features` otherwise).
default = ["connect"]