Skip to content

Commit

Permalink
shady-lib: making shady-audio an optional dependency - bind to `audio…
Browse files Browse the repository at this point in the history
…` feature flag
  • Loading branch information
TornaxO7 committed Jan 3, 2025
1 parent a06ec1e commit 9267dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shady-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = "GPL-3.0-or-later"
[dependencies]
bytemuck = { version = "1", features = ["derive"] }

shady-audio = { path = "../shady-audio" }
shady-audio = { path = "../shady-audio", optional = true }

wgpu.workspace = true
tracing.workspace = true
Expand All @@ -24,6 +24,6 @@ default = ["time", "resolution", "audio", "mouse", "frame"]

time = []
resolution = []
audio = []
audio = ["dep:shady-audio"]
mouse = []
frame = []

0 comments on commit 9267dce

Please sign in to comment.