-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathCargo.toml
66 lines (59 loc) · 1.6 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
[package]
name = "roperator"
version = "0.3.0"
authors = ["pfried <[email protected]>"]
edition = "2018"
description = "Easily create Kubernetes Operators with Rust"
repository = "https://github.com/psFried/roperator"
documentation = "https://docs.rs/roperator"
readme = "README.md"
keywords = ["kubernetes", "k8s", "operator"]
categories = ["api-bindings", "config"]
license = "MIT OR Apache-2.0"
exclude = [ "docs/" ]
[badges.maintenance]
status = "actively-developed"
[package.metadata.docs.rs]
features = [ "failable", "testkit" ]
[dependencies]
hyper = { version = "0.14", features = ["client", "server", "http1", "http2", "stream"]}
http = "0.2"
tokio = { version = "1", features = [ "rt", "rt-multi-thread", "io-util", "time", "net"] }
tokio-stream = { version = "0.1.5", features = ["net"] }
futures = { version = "0.3", features = ["compat"] }
futures-util = "0.3"
bytes = "1"
hyper-openssl = "0.9"
openssl = "^0.10"
serde_json = "1.0"
serde_yaml = "0.8"
serde = "1.0"
serde_derive = "1.0"
log = "0.4.8"
regex = "1.3"
lazy_static = "1.4"
url = "2.1"
dirs = "2.0"
base64 = "0.12"
urlencoding = "1.0"
prometheus = "0.8"
backoff = "0.1.6"
anyhow = "1.0"
[dev-dependencies]
k8s-openapi = { version = "0.11", default-features = false, features = ["v1_20"] }
env_logger = "0.7.1"
chrono = "^0.4"
protobuf = "=2.14.0"
[features]
default = []
testkit = []
failable = []
# The reason we do this is because doctests don't get cfg(test)
# See: https://github.com/rust-lang/cargo/issues/4669
test = []
[[test]]
name = "integration_tests"
required-features = ["testkit"]
[[example]]
name = "temp-namespace"
required-features = ["failable"]