forked from krustlet/krustlet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
102 lines (91 loc) · 2.65 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
92
93
94
95
96
97
98
99
100
101
102
[package]
name = "krustlet"
version = "0.5.0"
authors = [
"Matt Butcher <[email protected]>",
"Matthew Fisher <[email protected]>",
"Radu Matei <[email protected]>",
"Taylor Thomas <[email protected]>",
"Brian Ketelsen <[email protected]>",
"Brian Hardock <[email protected]>",
"Ryan Levick <[email protected]>",
"Kevin Flansburg <[email protected]>",
]
edition = "2018"
default-run = "krustlet-wascc"
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",
"kubelet/kube-native-tls",
"wascc-provider/native-tls",
"oci-distribution/native-tls"
]
rustls-tls = [
"kube/rustls-tls",
"kube-runtime/rustls-tls",
"kubelet/rustls-tls",
"wascc-provider/rustls-tls",
"oci-distribution/rustls-tls"
]
[dependencies]
anyhow = "1.0"
tokio = { version = "0.2", features = ["macros", "rt-threaded", "time"] }
kube = { version= "0.42", default-features = false }
k8s-openapi = { version = "0.9", default-features = false, features = ["v1_18"] }
env_logger = "0.7"
futures = "0.3"
kubelet = { path = "./crates/kubelet", version = "0.5", default-features = false, features = ["cli"] }
wascc-provider = { path = "./crates/wascc-provider", version = "0.5", default-features = false }
wasi-provider = { path = "./crates/wasi-provider", version = "0.5", default-features = false }
oci-distribution = { path = "./crates/oci-distribution", version = "0.4", default-features = false }
dirs = "2.0"
hostname = "0.3"
regex = "1.3"
[dev-dependencies]
serde_derive = "1.0"
serde_json = "1.0"
serde = "1.0"
reqwest = { version = "0.10", default-features = false }
tempfile = "3.1"
kube-runtime = { version= "0.42", default-features = false }
[workspace]
members = [
"crates/kubelet",
"crates/oci-distribution",
"crates/wascc-logging",
"crates/wascc-provider",
"crates/wasi-provider"
]
[[bin]]
name = "krustlet-wascc"
path = "src/krustlet-wascc.rs"
[[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"