[package]
edition = "2024"
name = "cloudiful-notifier"
version = "0.2.1"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async notification delivery library for ntfy, generic webhooks, DingTalk robots, and SMTP email."
homepage = "https://github.com/cloudiful/notifier"
documentation = "https://docs.rs/cloudiful-notifier"
readme = "README.md"
keywords = [
"notification",
"webhook",
"ntfy",
"dingtalk",
"email",
]
categories = [
"asynchronous",
"web-programming::http-client",
]
license = "Apache-2.0"
repository = "https://github.com/cloudiful/notifier"
[features]
default = [
"ntfy",
"webhook",
"dingtalk",
"email",
]
dingtalk = []
email = []
ntfy = []
webhook = []
[lib]
name = "cloudiful_notifier"
path = "src/lib.rs"
[dependencies.base64]
version = "0.22.1"
[dependencies.hmac]
version = "0.13.0"
[dependencies.lettre]
version = "0.11"
features = [
"builder",
"smtp-transport",
"tokio1",
"tokio1-rustls",
"ring",
"webpki-roots",
]
default-features = false
[dependencies.reqwest]
version = "0.13.4"
features = [
"json",
"rustls",
]
default-features = false
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.150"
[dependencies.sha2]
version = "0.11.0"
[dependencies.urlencoding]
version = "2.1.3"
[dev-dependencies.tokio]
version = "1.52.3"
features = [
"macros",
"rt-multi-thread",
]