Fix cargo.toml for macOS

This commit is contained in:
Skyler Lehmkuhl 2025-11-24 03:10:29 -05:00
parent 3bdb631538
commit 9ca0da8480
1 changed files with 6 additions and 5 deletions

View File

@ -38,17 +38,18 @@ rtrb = "0.3"
tokio = { version = "1", features = ["sync", "time"] }
# Video decoding
lru = "0.12"
image = { version = "0.24", default-features = false, features = ["jpeg"] }
# HTTP server for video streaming
tiny_http = "0.12"
[target.'cfg(target_os = "macos")'.dependencies]
ffmpeg-next = { version = "7.0", features = ["build"] }
[target.'cfg(not(target_os = "macos"))'.dependencies]
ffmpeg-next = "7.0"
lru = "0.12"
image = { version = "0.24", default-features = false, features = ["jpeg"] }
# HTTP server for video streaming
tiny_http = "0.12"
[profile.dev]
opt-level = 1 # Enable basic optimizations in debug mode for audio decoding performance