-
Notifications
You must be signed in to change notification settings - Fork 475
/
Cargo.toml
104 lines (97 loc) · 3.25 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.33.2"
authors = [
"Kai Greshake <[email protected]>",
"Contributors on GitHub (https://github.com/greshake/i3status-rust/graphs/contributors)",
]
edition = "2021"
[workspace]
members = [".", "xtask"]
resolver = "2"
[features]
default = ["pulseaudio"]
pulseaudio = ["libpulse-binding"]
pipewire = ["dep:pipewire"]
notmuch = ["dep:notmuch"]
maildir = ["dep:maildir", "glob"]
icu_calendar = ["dep:icu_datetime", "dep:icu_calendar", "dep:icu_locid"]
debug_borders = [] # Make widgets' borders visible
[package.metadata.docs.rs]
features = ["maildir", "notmuch"]
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
async-trait = "0.1"
backon = { version = "1.2", default-features = false, features = ["tokio-sleep"] }
base64 = { version = "0.22.1" }
calibright = { version = "0.1.9", features = ["watch"] }
chrono = { version = "0.4", default-features = false, features = ["clock", "unstable-locales"] }
chrono-tz = { version = "0.10", features = ["serde"] }
clap = { version = "4.0", default-features = false, features = ["std", "derive", "help", "usage"] }
debounced = "0.2.0"
dirs = "5.0"
env_logger = "0.11"
futures = { version = "0.3.31", default-features = false }
glob = { version = "0.3.1", optional = true }
hyper = "0.14"
iana-time-zone = "0.1.60"
icalendar = { version = "0.16.2", features = ["chrono-tz"] }
icu_calendar = { version = "1.3.0", optional = true }
icu_datetime = { version = "1.3.0", optional = true }
icu_locid = { version = "1.3.0", optional = true }
indexmap = { version = "2.0", features = ["serde"] }
inotify = "0.11"
itertools = "0.13"
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.6", features = ["async"] }
nix = { version = "0.29", features = ["fs", "process"] }
nom = "7.1.2"
notmuch = { version = "0.8", optional = true }
oauth2 = { version = "4.4.2" }
pipewire = { version = "0.8", default-features = false, optional = true }
quick-xml = { version = "0.36.1", features = ["serialize"] }
regex = "1.5"
reqwest = { version = "0.11", features = ["json"] }
sensors = "0.2.2"
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = "1.0"
shellexpand = "3.0"
signal-hook = "0.3"
signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] }
smart-default = "0.7"
swayipc-async = "2.0"
thiserror = "1.0"
toml = { version = "0.8", features = ["preserve_order"] }
unicode-segmentation = "1.10.1"
wayrs-client = { version = "1.0", features = ["tokio"] }
wayrs-protocols = { version = "0.14", features = ["wlr-foreign-toplevel-management-unstable-v1"] }
zbus = { version = "5", default-features = false, features = ["tokio"] }
[dependencies.tokio]
version = "1.12"
features = [
"fs",
#"io-util",
"io-std",
"macros",
#"net",
#"parking_lot",
"process",
"rt",
"rt-multi-thread",
#"signal",
"sync",
"time",
]
[profile.release]
lto = "thin"
[profile.release-debug-info]
inherits = "release"
debug = true