forked from greshake/i3status-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
104 lines (92 loc) · 2.24 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[package]
name = "i3status-rs"
description = "A feature-rich and resource-friendly replacement for i3status, written in Rust."
repository = "https://github.com/greshake/i3status-rust/"
readme = "README.md"
license = "GPL-3.0-only"
version = "0.30.2"
authors = [
"Kai Greshake <[email protected]>",
"Contributors on GitHub (https://github.com/greshake/i3status-rust/graphs/contributors)",
]
edition = "2021"
[features]
default = ["pulseaudio"]
pulseaudio = ["libpulse-binding"]
debug_borders = [] # Make widgets' borders visible
[dependencies]
async-once-cell = "0.4"
async-trait = "0.1"
crossbeam-channel = "0.5"
dirs = "4.0"
env_logger = "0.10"
hyper = "0.14"
inotify = "0.10"
libc = "0.2"
libpulse-binding = { version = "2.0", default-features = false, optional = true }
log = "0.4"
maildir = { version = "0.6", optional = true }
neli = { version = "0.6", features = ["async"] }
neli-wifi = { version = "0.4", features = ["async"] }
nix = "0.26"
nom = "7.1.2"
notmuch = { version = "0.8", optional = true }
once_cell = "1"
regex = "1.5"
sensors = "0.2.2"
serde_json = "1.0"
shellexpand = "3.0"
signal-hook = "0.3"
smart-default = "0.6"
swayipc-async = "2.0"
tokio-stream = "0.1"
toml = "0.6"
zbus = { version = "3.8", default-features = false, features = ["tokio"] }
wayrs-client = { version = "0.3", features = ["tokio"] }
wayrs-protocols = { version = "0.3", features = ["wlr-foreign-toplevel-management-unstable-v1"] }
[dependencies.clap]
version = "4.0"
default-features = false
features = ["std", "derive"]
[dependencies.serde]
version = "1.0"
features = ["derive", "rc"]
[dependencies.tokio]
version = "1.12"
features = [
"fs",
#"io-util",
"io-std",
"macros",
#"net",
#"parking_lot",
"process",
"rt",
"rt-multi-thread",
#"signal",
"sync",
"time",
]
[dependencies.futures]
version = "0.3"
default-features = false
[dependencies.chrono]
version = "0.4"
default-features = false
features = ["clock", "unstable-locales"]
[dependencies.chrono-tz]
version = "0.8"
features = ["serde"]
[dependencies.signal-hook-tokio]
version = "0.3"
features = ["futures-v0_3"]
[dependencies.reqwest]
version = "0.11"
features = ["json"]
# Test async code
[dev-dependencies]
tokio-test = "*"
[profile.release]
lto = "thin"
strip = true
debug = 1