aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorShoelace <pierre.leidbring@gmail.com>2021-05-19 21:44:58 +0200
committerGitHub <noreply@github.com>2021-05-19 22:44:58 +0300
commit2a23bd20440b0d1a359c6bb4385b6771f2657a3b (patch)
treeec4052da5dff822c70ab20216298fe5be4abfeb7 /Cargo.toml
parentb1d81bf8c936509b6f83b2eac98da8ae72e0a4e3 (diff)
Threaded to async (#58)
* Add async deps * Rename blocks to 'BlockManager' * Refactor "Blocks" to own module * Make all util fn async * Remove stray println
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml28
1 files changed, 23 insertions, 5 deletions
diff --git a/Cargo.toml b/Cargo.toml
index cbc2a95..fc6dcc4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,15 +13,33 @@ description = "a multi threaded status bar for dwm window manager for linux"
[dependencies]
alsa = "0.5"
chrono = "0.4"
-dbus = "0.9"
-lazy_static = "1.4"
-minreq = {version = "2.2", features = ["https","json-using-serde"]}
mpd = "0.0.12"
nix = "0.20"
-serde = {version = "1.0", features = ["derive"]}
-serde_yaml = "0.8"
battery = "0.7"
+dbus = "0.9.1"
+serde_yaml = "0.8.15"
+lazy_static = "1.4.0"
+
+# Async deps
+futures = "0.3.15"
+async-trait = "0.1.50"
+
+[dependencies.async-std]
+version = "1.9.0"
+features = ["attributes"]
+
+[dependencies.tokio]
+version = "1.6.0"
+features = ["full"]
+
+[dependencies.serde]
+version = "1.0.120"
+features = ["derive"]
[dependencies.breadx]
version = "0.1.11"
features = ["async"]
+
+[dependencies.minreq]
+version = "2.2"
+features = ["https", "json-using-serde"]