Skip to content

Commit b09283d

Browse files
committed
make oneshot and tap dependencies optional
1 parent a4029c2 commit b09283d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ rust-version = "1.85"
1414
maintenance = { status = "actively-developed" }
1515

1616
[features]
17-
default = []
17+
default = ["custom", "asio-new"]
1818

1919
# Real-time audio thread scheduling
2020
# Applies platform-specific real-time scheduling and performance modes to audio threads.
@@ -37,7 +37,7 @@ asio = ["dep:asio-sys", "dep:num-traits"]
3737
# Experimental ASIO implementation with multi-driver support and no external build requirements.
3838
# Requires: ASIO drivers
3939
# Platform: Windows
40-
asio-new = ["dep:azo", "dep:closure-ffi"]
40+
asio-new = ["dep:azo", "dep:closure-ffi", "dep:tap", "dep:oneshot"]
4141

4242
# Audio Worklet backend for WebAssembly
4343
# Provides lower-latency web audio processing compared to default Web Audio API
@@ -140,8 +140,8 @@ asio-sys = { version = "0.5.0", path = "asio-sys", optional = true }
140140
azo = { version = "0.0.9", optional = true }
141141
closure-ffi = { version = "5.1.2", optional = true }
142142
num-traits = { version = "0.2", optional = true }
143-
oneshot = { version = "0.2.1", features = ["std"] }
144-
tap = "1.0.1"
143+
oneshot = { version = "0.2.1", features = ["std"], optional = true }
144+
tap = { version = "1.0.1", optional = true }
145145
jack = { version = "0.13.5", optional = true }
146146

147147
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd"))'.dependencies]

0 commit comments

Comments
 (0)