forked from valeriansaliou/vigil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
68 lines (63 loc) · 2.1 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
[package]
name = "vigil-server"
version = "1.21.1"
description = "Microservices Status Page. Monitors a distributed infrastructure and sends alerts (Slack, SMS, etc.)."
readme = "README.md"
license = "MPL-2.0"
edition = "2018"
homepage = "https://github.com/valeriansaliou/vigil"
repository = "https://github.com/valeriansaliou/vigil.git"
keywords = ["microservices", "infrastructure", "status", "monitor", "slack"]
categories = ["web-programming"]
authors = ["Valerian Saliou <valerian@valeriansaliou.name>"]
exclude = ["dev/*"]
[[bin]]
name = "vigil"
path = "src/main.rs"
doc = false
[dependencies]
log = { version = "0.4", features = ["std"] }
clap = { version = "2.33", default-features = false }
lazy_static = "1.4"
time = "0.1"
serde = "1.0"
serde_derive = "1.0"
toml = "0.5"
base64 = "0.13"
regex = "1.3"
url = { version = "2.1", default-features = false }
url_serde = { version = "0.2", default-features = false }
indexmap = { version = "1.3", features = ["serde-1"] }
actix-web = { version = "3.3", default-features = false }
actix-files = "0.5"
actix-web-httpauth = "0.5"
tera = { version = "1.6", default-features = false }
native-tls = { version = "0.2", features = ["vendored"] }
openssl-probe = "0.1"
reqwest = { version = "0.10", features = ["native-tls-vendored", "gzip", "blocking", "json"], default-features = false }
ping = "0.2"
run_script = "0.6"
lettre = { version = "0.9", features = ["smtp-transport"], optional = true }
lettre_email = { version = "0.9", optional = true }
libstrophe = { version = "0.13", default-features = false, optional = true }
[features]
default = ["notifier-email", "notifier-twilio", "notifier-slack", "notifier-telegram", "notifier-pushover", "notifier-gotify", "notifier-matrix", "notifier-webhook"]
notifier-email = ["lettre", "lettre_email"]
notifier-twilio = []
notifier-slack = []
notifier-telegram = []
notifier-pushover = []
notifier-gotify = []
notifier-matrix = []
notifier-webhook = []
notifier-xmpp = ["libstrophe"]
[profile.dev]
opt-level = 0
debug = true
debug-assertions = true
[profile.release]
opt-level = "s"
lto = true
debug = false
debug-assertions = false
panic = "abort"