aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/Cargo.toml
diff options
context:
space:
mode:
authorEskil <eskilq@kth.se>2020-11-21 15:56:27 +0100
committerEskil <eskilq@kth.se>2020-11-21 15:56:27 +0100
commit08397f89fd6fdefed67533bf9403bde07f1ee40e (patch)
tree731613e6e00d66e7d35e782a1171677388c83306 /mumd/Cargo.toml
parentff9a37af7ddf5484bb7db61ae01f8aafd9d1e91d (diff)
parentbe4d273fa8778ec87ad4a34502d0f3c75657fbbc (diff)
downloadmum-08397f89fd6fdefed67533bf9403bde07f1ee40e.tar.gz
Merge branch 'sound-effect' into 'main'
Sound effects on events Closes #68 See merge request gustav/mum!32
Diffstat (limited to 'mumd/Cargo.toml')
-rw-r--r--mumd/Cargo.toml11
1 files changed, 9 insertions, 2 deletions
diff --git a/mumd/Cargo.toml b/mumd/Cargo.toml
index 5c546d1..f497524 100644
--- a/mumd/Cargo.toml
+++ b/mumd/Cargo.toml
@@ -9,7 +9,11 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
-default = ["libnotify"]
+default = ["notifications", "sound-effects"]
+
+notifications = ["libnotify"]
+
+sound-effects = ["hound", "samplerate"]
[dependencies]
mumlib = { path = "../mumlib" }
@@ -23,7 +27,7 @@ ipc-channel = "0.14"
log = "0.4"
mumble-protocol = "0.3"
native-tls = "0.2"
-openssl = { version = "0.10", optional = true }
+openssl = { version = "0.10" }
opus = "0.2"
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "0.2", features = ["blocking", "macros", "rt-core", "sync", "tcp", "time"] }
@@ -32,5 +36,8 @@ tokio-util = { version = "0.3", features = ["codec", "udp"] }
libnotify = { version = "1.0", optional = true }
+hound = { version = "3.4.0", optional = true }
+samplerate = { version = "0.2.2", optional = true }
+
#compressor = "0.3"
#daemonize = "0.4"