-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
40 lines (34 loc) · 1.05 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
[package]
name = "ntfy"
version = "0.7.0"
edition = "2021"
description = "Library for sending notifications over ntfy"
authors = ["Yuki Kishimoto <[email protected]>"]
license = "MIT"
homepage = "https://github.com/shadowylab/ntfy"
repository = "https://github.com/shadowylab/ntfy.git"
readme = "README.md"
keywords = ["ntfy", "notifications", "sdk"]
[features]
default = ["async"]
async = ["dep:reqwest"]
blocking = ["dep:ureq"]
[dependencies]
base64 = "0.22"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls-webpki-roots", "socks"], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
ureq = { version = "2.12", features = ["json", "socks-proxy"], optional = true }
url = { version = "2", features = ["serde"] }
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
[[example]]
name = "blocking"
required-features = ["blocking"]
[[example]]
name = "client"
required-features = ["async"]
[profile.release]
lto = true
codegen-units = 1
panic = "abort"