forked from hubblo-org/scaphandre
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (43 loc) · 1.61 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
[package]
name = "scaphandre"
version = "0.5.0"
authors = ["Benoit Petit <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
description = "Electric power/energy consumption monitoring agent."
repository = "https://github.com/hubblo-org/scaphandre"
readme = "README.md"
homepage = "https://scaphandre.hubblo.org"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
loggerv = "0.7.2"
log = "0.4"
clap = "2.33.3"
regex = "1"
riemann_client = { version = "0.9.0", optional = true }
hostname = "0.3.1"
protobuf = "2.20.0"
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
ordered-float = "2.0"
warp10 = { version = "1.0.0", optional = true }
rand = { version = "0.7.3" }
time = "0.2.25"
colored = "2.0.0"
chrono = "0.4.19"
docker-sync = { version = "0.1.2", optional = true }
k8s-sync = { version = "0.2.3", optional = true }
hyper = { version = "0.14", features = ["full"], optional = true }
tokio = { version = "1", features = ["full"], optional = true}
[target.'cfg(target_os="linux")'.dependencies]
procfs = { version = "0.12.0" }
[target.'cfg(target_os="windows")'.dependencies]
windows = { version = "0.27.0", features = ["alloc","Win32_Storage_FileSystem","Win32_Foundation","Win32_Security","Win32_System_IO","Win32_System_Ioctl"]}
sysinfo = { version = "0.22.4"}
[features]
default = ["prometheus", "riemann", "warpten", "json", "containers"]
prometheus = ["hyper", "tokio"]
riemann = ["riemann_client"]
json = ["serde", "serde_json"]
containers = ["docker-sync", "k8s-sync"]
warpten = ["warp10"]