Compare commits
2 commits
16c32f6dbe
...
8ad53e456f
Author | SHA1 | Date | |
---|---|---|---|
8ad53e456f | |||
79879d1ae7 |
2 changed files with 2 additions and 3 deletions
|
@ -5,7 +5,7 @@ authors = ["hodasemi <michaelh.95@t-online.de>"]
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
quick-xml = "0.31.0"
|
quick-xml = "0.37.0"
|
||||||
serde = { version = "1.0.203", features = ["derive"] }
|
serde = { version = "1.0.203", features = ["derive"] }
|
||||||
serde_json = { version = "1.0.120" }
|
serde_json = { version = "1.0.120" }
|
||||||
vulkan-rs = { git = "https://gavania.de/hodasemi/vulkan_lib.git" }
|
vulkan-rs = { git = "https://gavania.de/hodasemi/vulkan_lib.git" }
|
||||||
|
@ -18,4 +18,3 @@ anyhow = { version = "1.0.86", features = ["backtrace"] }
|
||||||
audio = { git = "https://gavania.de/hodasemi/audio.git", optional = true }
|
audio = { git = "https://gavania.de/hodasemi/audio.git", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["audio"]
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ pub trait ContextInterface: Send + Sync {
|
||||||
fn height(&self) -> u32;
|
fn height(&self) -> u32;
|
||||||
|
|
||||||
#[cfg(feature = "audio")]
|
#[cfg(feature = "audio")]
|
||||||
fn sound_handler(&self) -> std::sync::MutexGuard<'_, SoundHandler>;
|
fn sound_handler(&mut self) -> &mut SoundHandler;
|
||||||
}
|
}
|
||||||
|
|
||||||
pub enum TargetMode<T> {
|
pub enum TargetMode<T> {
|
||||||
|
|
Loading…
Reference in a new issue