aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock38
-rw-r--r--mumd/Cargo.toml6
2 files changed, 42 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 2f4bb07..f5b323a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,5 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
+version = 3
+
[[package]]
name = "alsa"
version = "0.5.0"
@@ -685,6 +687,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]]
+name = "lewton"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "777b48df9aaab155475a83a7df3070395ea1ac6902f5cd062b8f2b028075c030"
+dependencies = [
+ "byteorder",
+ "ogg",
+ "tinyvec",
+]
+
+[[package]]
name = "libc"
version = "0.2.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -825,6 +838,7 @@ dependencies = [
"futures-channel",
"futures-util",
"hound",
+ "lewton",
"libnotify",
"log",
"mumble-protocol",
@@ -1034,6 +1048,15 @@ dependencies = [
]
[[package]]
+name = "ogg"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6951b4e8bf21c8193da321bcce9c9dd2e13c858fe078bf9054a288b419ae5d6e"
+dependencies = [
+ "byteorder",
+]
+
+[[package]]
name = "once_cell"
version = "1.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1535,6 +1558,21 @@ dependencies = [
]
[[package]]
+name = "tinyvec"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5b5220f05bb7de7f3f53c7c065e1199b3172696fe2db9f9c4d8ad9b4ee74c342"
+dependencies = [
+ "tinyvec_macros",
+]
+
+[[package]]
+name = "tinyvec_macros"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
+
+[[package]]
name = "tokio"
version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/mumd/Cargo.toml b/mumd/Cargo.toml
index 1e8e63f..6de74fa 100644
--- a/mumd/Cargo.toml
+++ b/mumd/Cargo.toml
@@ -12,9 +12,10 @@ license = "MIT"
readme = "../README.md"
[features]
-default = ["notifications"]
+default = ["notifications", "ogg"]
notifications = ["libnotify"]
+ogg = ["lewton"]
[dependencies]
mumlib = { version = "0.4", path = "../mumlib" }
@@ -44,7 +45,8 @@ tokio-util = { version = "0.6", features = ["codec", "net"] }
bincode = "1.3.2"
chrono = "0.4"
-libnotify = { version = "1.0", optional = true }
+libnotify = { version = "1", optional = true }
+lewton = { version = "0.10", optional = true }
#compressor = "0.3"
#daemonize = "0.4"