forked from containerd/rust-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
50 lines (42 loc) · 1.35 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
[package]
name = "containerd-shim"
version = "0.3.0"
authors = ["Maksym Pavlenko <[email protected]>", "The containerd Authors"]
keywords = ["containerd", "shim", "containers"]
description = "containerd shim extension"
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
[features]
async = ["tokio", "containerd-shim-protos/async", "async-trait", "futures", "signal-hook-tokio"]
[[example]]
name = "skeleton_async"
required-features = ["async"]
[dependencies]
go-flag = "0.1.0"
thiserror = "1.0"
log = { version = "0.4", features = ["std"] }
libc = "0.2.95"
nix = "0.25"
command-fds = "0.2.1"
lazy_static = "1.4.0"
time = { version = "0.3.7", features = ["serde", "std"] }
serde_json = "1.0.78"
serde_derive = "1.0.136"
serde = "1.0.136"
uuid = { version = "1.0.0", features = ["v4"] }
signal-hook = "0.3.13"
oci-spec = "0.5.4"
prctl = "1.0.0"
page_size = "0.4.2"
regex = "1"
containerd-shim-protos = { path = "../shim-protos", version = "0.2.0" }
async-trait = { version = "0.1.51", optional = true }
tokio = { version = "1.17.0", features = ["full"], optional = true }
futures = {version = "0.3.21", optional = true}
signal-hook-tokio = {version = "0.3.1", optional = true, features = ["futures-v0_3"]}
[target.'cfg(target_os = "linux")'.dependencies]
cgroups-rs = "0.2.9"
[dev-dependencies]
tempfile = "3.0"