forked from valeriansaliou/vigil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
73 lines (68 loc) · 2.27 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
[package]
name = "vigil-server"
version = "1.26.3"
description = "Microservices Status Page. Monitors a distributed infrastructure and sends alerts (Slack, SMS, etc.)."
readme = "README.md"
license = "MPL-2.0"
edition = "2021"
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 <[email protected]>"]
exclude = ["dev/*"]
[[bin]]
name = "vigil"
path = "src/main.rs"
doc = false
[dependencies]
log = { version = "0.4", features = ["std"] }
clap = { version = "4.3", features = ["std", "cargo"] }
lazy_static = "1.4"
time = { version = "0.3", features = ["formatting"] }
serde = "1.0"
serde_derive = "1.0"
toml = "0.7"
envsubst = "0.2"
uuid = { version = "1.1", features = ["v4", "fast-rng"], default-features = false }
regex = "1.6"
url = { version = "2.2", default-features = false }
url_serde = { version = "0.2", default-features = false }
http = "0.2"
http-serde = "1.1"
indexmap = { version = "1.9", features = ["serde-1"] }
actix-web = "4.3"
actix-files = "0.6"
actix-web-httpauth = "0.8"
tera = { version = "1.19", default-features = false }
native-tls = { version = "0.2", features = ["vendored"] }
openssl-probe = "0.1"
reqwest = { version = "0.11", features = ["native-tls-vendored", "gzip", "blocking", "json"], default-features = false }
ping = "0.4"
run_script = "0.10"
lettre = { version = "0.10", features = ["smtp-transport", "native-tls", "hostname", "builder"], default-features = false, optional = true }
libstrophe = { version = "0.17", optional = true }
[features]
default = ["notifier-email", "notifier-twilio", "notifier-slack", "notifier-zulip", "notifier-telegram", "notifier-pushover", "notifier-gotify", "notifier-matrix", "notifier-webex", "notifier-webhook"]
notifier-email = ["lettre"]
notifier-twilio = []
notifier-slack = []
notifier-zulip = []
notifier-telegram = []
notifier-pushover = []
notifier-gotify = []
notifier-matrix = []
notifier-webex = []
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"
strip = true