From bd01bda3ad20760800b3b2338ff14f647a38b949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Fri, 6 Nov 2020 15:21:54 +0100 Subject: add feature libnotify to mumd --- mumd/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mumd/Cargo.toml') diff --git a/mumd/Cargo.toml b/mumd/Cargo.toml index 350d81e..3dfc82c 100644 --- a/mumd/Cargo.toml +++ b/mumd/Cargo.toml @@ -8,6 +8,9 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[features] +default = ["libnotify"] + [dependencies] mumlib = { path = "../mumlib" } @@ -17,7 +20,6 @@ cpal = { git = "https://github.com/RustAudio/cpal" } futures = "0.3" futures-util = "0.3" ipc-channel = "0.14" -libnotify = "1.0" log = "0.4" mumble-protocol = "0.3" native-tls = "0.2" @@ -28,5 +30,7 @@ tokio = { version = "0.2", features = ["full"] } tokio-tls = "0.3" tokio-util = { version = "0.3", features = ["codec", "udp"] } +libnotify = { version = "1.0", optional = true } + #compressor = "0.3" #daemonize = "0.4" -- cgit v1.2.1