forked from krustlet/krustlet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
91 lines (83 loc) · 2.71 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[package]
name = "krustlet"
version = "0.7.0"
authors = [
"Matt Butcher <matt.butcher@microsoft.com>",
"Matthew Fisher <matt.fisher@microsoft.com>",
"Radu Matei <radu.matei@microsoft.com>",
"Taylor Thomas <taylor.thomas@microsoft.com>",
"Brian Ketelsen <Brian.Ketelsen@microsoft.com>",
"Brian Hardock <Brian.Hardock@microsoft.com>",
"Ryan Levick <rylevick@microsoft.com>",
"Kevin Flansburg <kevin.flansburg@gmail.com>",
]
edition = "2018"
default-run = "krustlet-wasi"
license-file = "LICENSE"
description = "A Kubernetes kubelet implementation in Rust, used for running WebAssembly modules in Kubernetes"
repository = "https://github.com/deislabs/krustlet"
documentation = "https://github.com/deislabs/krustlet/tree/master/docs"
readme = "README.md"
keywords = ["wasm", "wasi", "webassembly", "kubernetes"]
exclude = ["docs/*", "demos/*", ".github/*", ".gitignore"]
[badges]
maintenance = { status = "actively-developed" }
[features]
default = ["native-tls"]
native-tls = [
"kube/native-tls",
"kube-runtime/native-tls",
"krator/kube-native-tls",
"kubelet/kube-native-tls",
"wasi-provider/native-tls",
"oci-distribution/native-tls",
]
rustls-tls = [
"kube/rustls-tls",
"kube-runtime/rustls-tls",
"krator/rustls-tls",
"kubelet/rustls-tls",
"wasi-provider/rustls-tls",
"oci-distribution/rustls-tls",
]
[dependencies]
anyhow = "1.0"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "time"] }
kube = { version = "0.55", default-features = false }
k8s-openapi = { version = "0.11", default-features = false, features = ["v1_20"] }
futures = "0.3"
krator = { version = "0.3", default-features = false }
kubelet = { path = "./crates/kubelet", version = "0.7", default-features = false, features = ["cli"] }
wasi-provider = { path = "./crates/wasi-provider", version = "0.7", default-features = false }
oci-distribution = { path = "./crates/oci-distribution", version = "0.6", default-features = false }
dirs = { package = "dirs-next", version = "2.0.0" }
hostname = "0.3"
regex = "1.3"
tracing-subscriber = "0.2"
serde = "1.0"
[dev-dependencies]
serde_derive = "1.0"
serde_json = "1.0"
reqwest = { version = "0.11", default-features = false }
kube-runtime = { version = "0.55", default-features = false }
compiletest_rs = "0.6"
tempfile = "3.2"
k8s-csi = "0.3"
tonic = "0.4"
async-trait = "0.1"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "time", "process"] }
[workspace]
members = [
"crates/kubelet",
"crates/oci-distribution",
"crates/wasi-provider",
]
[[bin]]
name = "krustlet-wasi"
path = "src/krustlet-wasi.rs"
[[bin]]
name = "oneclick"
path = "tests/oneclick/src/main.rs"
[[bin]]
name = "podsmiter"
path = "tests/podsmiter/src/main.rs"