forked from Proxmox/proxmox
d6e86d670b
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
45 lines
1.4 KiB
TOML
45 lines
1.4 KiB
TOML
[package]
|
|
name = "proxmox-notify"
|
|
description = "implementation of notification base and plugins"
|
|
version = "0.4.2"
|
|
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
exclude.workspace = true
|
|
homepage.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
base64.workspace = true
|
|
const_format.workspace = true
|
|
handlebars = { workspace = true }
|
|
lettre = { workspace = true, optional = true }
|
|
log.workspace = true
|
|
mail-parser = { workspace = true, optional = true }
|
|
openssl.workspace = true
|
|
regex.workspace = true
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json.workspace = true
|
|
|
|
proxmox-http = { workspace = true, features = ["client-sync"], optional = true }
|
|
proxmox-http-error.workspace = true
|
|
proxmox-human-byte.workspace = true
|
|
proxmox-schema = { workspace = true, features = ["api-macro", "api-types"] }
|
|
proxmox-section-config = { workspace = true }
|
|
proxmox-serde.workspace = true
|
|
proxmox-sys = { workspace = true, optional = true }
|
|
proxmox-time.workspace = true
|
|
proxmox-uuid = { workspace = true, features = ["serde"] }
|
|
|
|
[features]
|
|
default = ["sendmail", "gotify", "smtp"]
|
|
mail-forwarder = ["dep:mail-parser", "dep:proxmox-sys"]
|
|
sendmail = ["dep:proxmox-sys"]
|
|
gotify = ["dep:proxmox-http"]
|
|
pve-context = ["dep:proxmox-sys"]
|
|
pbs-context = ["dep:proxmox-sys"]
|
|
smtp = ["dep:lettre"]
|