forked from project-akri/akri
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
69 lines (64 loc) · 2.24 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
[package]
name = "agent"
version = "0.4.6"
authors = ["Kate Goldenring <kate.goldenring@microsoft.com>", "<bfjelds@microsoft.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
akri-debug-echo = { path = "../discovery-handlers/debug-echo" }
akri-discovery-utils = { path = "../discovery-utils" }
akri-onvif = { path = "../discovery-handlers/onvif", optional = true }
akri-opcua = { path = "../discovery-handlers/opcua", optional = true }
akri-udev = { path = "../discovery-handlers/udev", optional = true }
akri-shared = { path = "../shared" }
anyhow = "1.0.38"
async-stream = "0.2"
async-trait = "0.1.0"
blake2 = "0.9.0"
chrono = "0.4.10"
cfg-if = "0.1"
env_logger = "0.6.1"
futures = { version = "0.3.1", package = "futures" }
futures-core = "0.3"
futures-util = "0.3"
futures-old = { version = "0.1", package = "futures" }
hyper = "0.13.10"
h2 = "=0.2.6"
kube = { version = "0.23.0", features = ["openapi"] }
k8s-openapi = { version = "0.6.0", features = ["v1_16"] }
lazy_static = "1.4"
log = "0.4"
mockall_double = "0.1.0"
prometheus = { version = "0.11.0", features = ["process"] }
prost = "0.6"
rand = "0.8.3"
serde = "1.0.104"
serde_json = "1.0.45"
serde_yaml = "0.8.11"
serde_derive = "1.0.104"
tokio = { version = "0.2", features = ["full"] }
tokio-core = "0.1"
tonic = "0.1"
tower = "0.3"
url = "2.2.0"
uuid = { version = "0.8.1", features = ["v4"] }
[build-dependencies]
tonic-build = "0.1.1"
[dev-dependencies]
# for testing using a simple discovery handler
akri-discovery-utils = { path = "../discovery-utils", features = ["mock-discovery-handler"] }
akri-onvif = { path = "../discovery-handlers/onvif" }
akri-opcua = { path = "../discovery-handlers/opcua" }
akri-udev = { path = "../discovery-handlers/udev"}
mockall = "0.9.0"
mock_instant = { version = "0.2", features = ["sync"] }
tempfile = "3.1.0"
[features]
# To embed discovery handlers, add the desired discovery handler features to default and "agent-full".
# Or set the features when building the agent with
# `cargo build --manifest-path agent/Cargo.toml --features "agent-full onvif-feat opcua-feat udev-feat"`
default = []
onvif-feat = [ "akri-onvif"]
opcua-feat = ["akri-opcua"]
udev-feat = ["akri-udev"]
agent-full = []