-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (41 loc) · 1.17 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
41
42
43
44
45
46
47
48
[package]
name = "znotify-cli"
version = "0.2.0"
edition = "2021"
description = "Send notification to ZNotify server"
authors = ["Zxilly <zxilly@outlook.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/ZNotify/cli"
repository = "https://github.com/ZNotify/cli"
categories = ["command-line-interface"]
build = "build.rs"
[dependencies]
clap = { version = "4.5.21", features = ["derive", "cargo", "std"] }
tokio = { version = "1.41.1", features = ["rt-multi-thread"] }
serde = { version = "1.0", features = ["derive"] }
znotify = "0.2.0"
dirs = "5.0.1"
toml_edit = { version = "0.22.22", features = ["serde"] }
self_update = "0.41.0"
async-trait = "0.1.83"
shadow-rs = "0.36.0"
clap_complete = "4.5.38"
[build-dependencies]
shadow-rs = "0.36.0"
[target.'cfg(target_os = "linux")'.dependencies]
openssl = { version = "0.10.68", features = ["vendored"] }
[profile.release]
lto = true
opt-level = 3
[[bin]]
name = "znotify"
path = "src/main.rs"
[package.metadata.deb]
section = "utility"
priority = "optional"
license-file = ["LICENSE", "4"]
assets = [
["target/release/znotify", "usr/bin/znotify", "755"],
["README.md", "usr/share/doc/znotify/README", "644"],
]