forked from Proxmox/proxmox
990fc8efd2
Add an endpoint for Gotify [1], showing the how easy it is to add new endpoint implementations. [1] https://gotify.net/ Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
27 lines
803 B
TOML
27 lines
803 B
TOML
[package]
|
|
name = "proxmox-notify"
|
|
version = "0.1.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
exclude.workspace = true
|
|
|
|
[dependencies]
|
|
handlebars = { workspace = true, optional = true }
|
|
lazy_static.workspace = true
|
|
log.workspace = true
|
|
openssl.workspace = true
|
|
proxmox-http = { workspace = true, features = ["client-sync"], optional = true }
|
|
proxmox-schema = { workspace = true, features = ["api-macro", "api-types"]}
|
|
proxmox-section-config = { workspace = true }
|
|
proxmox-sys = { workspace = true, optional = true }
|
|
regex.workspace = true
|
|
serde = { workspace = true, features = ["derive"]}
|
|
serde_json.workspace = true
|
|
|
|
[features]
|
|
default = ["sendmail", "gotify"]
|
|
sendmail = ["dep:handlebars", "dep:proxmox-sys"]
|
|
gotify = ["dep:proxmox-http"]
|