forked from greshake/i3status-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
65 lines (56 loc) · 1.6 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
[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 = "GPLv3"
version = "0.20.1"
authors = ["Kai Greshake <[email protected]>",
"Contributors on GitHub (https://github.com/greshake/i3status-rust/graphs/contributors)"]
edition = "2018"
[features]
default = ["pulseaudio"]
pulseaudio = ["libpulse-binding"]
# Opt-in block profiling, intended for developers.
profiling = ["cpuprofiler", "progress"]
# Make widgets' borders visible. (for debugging purposes)
debug_borders = []
[dependencies]
crossbeam-channel = "0.5"
curl = "0.4"
dbus = "0.9"
dbus-tree = "0.9"
lazy_static = "1.0"
nix = "0.20.0"
nl80211 = "0.0.2"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
signal-hook = "0.3"
swayipc = "2.7"
toml = "0.5"
# Optional features/blocks
libpulse-binding = { optional = true, version = "2.0", default-features = false }
notmuch = { optional = true, version = "0.6.0" }
maildir = { optional = true, version = "0.5" }
# Used only in debug build for profiling blocks
cpuprofiler = { version = "0.0.4", optional = true }
progress = { version = "0.2", optional = true }
[dependencies.chrono]
version = "0.4"
features = ["unstable-locales"]
[dependencies.chrono-tz]
version = "0.5"
features = ["serde"]
[dependencies.clap]
version = "2.31"
default-features = false
[dependencies.inotify]
version = "0.9"
default-features = false
[dependencies.regex]
version = "1.5"
default-features = false
features = ["std"]
[dev-dependencies]
assert_fs = "1.0"