You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vigil/Cargo.toml

73 lines
2.3 KiB

[package]
name = "vigil-server"
version = "1.25.1"
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 <valerian@valeriansaliou.name>"]
exclude = ["dev/*"]
[[bin]]
name = "vigil"
path = "src/main.rs"
doc = false
[dependencies]
log = { version = "0.4", features = ["std"] }
clap = { version = "4.1", features = ["std", "cargo"] }
lazy_static = "1.4"
time = { version = "0.3", features = ["formatting"] }
serde = "1.0"
serde_derive = "1.0"
toml = "0.7"
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 = { version = "3.3", default-features = false }
actix-files = "0.5"
actix-web-httpauth = "0.5"
tera = { version = "1.16", 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