forked from greshake/i3status-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
54 lines (48 loc) · 1.4 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
[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.13.0"
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"]
[dependencies]
chrono = "0.4"
chrono-tz = "0.5"
crossbeam-channel = "0.4"
dbus = "0.8"
lazy_static = "1.0"
maildir = "0.3"
nix = "0.16.0"
num-traits = "0.2"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
swayipc = "2.6.0"
toml = "0.5"
uuid = { version = "0.8", features = ["v4"] }
# Optional features/blocks
libpulse-binding = { optional = true, version = "2.15.0", default-features = false }
notmuch = { optional = true, version = "0.6.0" }
# Used only in debug build for profiling blocks
cpuprofiler = { version = "0.0.4", optional = true }
progress = { version = "0.2", optional = true }
[dependencies.clap]
version = "2.31"
default-features = false
[dependencies.inotify]
version = "0.8.2"
default-features = false
[dependencies.regex]
version = "1.3.0"
default-features = false
features = ["std"]
[dev-dependencies]
assert_fs = "1.0.0"