Fix cargo.toml for macOS
This commit is contained in:
parent
3bdb631538
commit
9ca0da8480
|
|
@ -38,17 +38,18 @@ rtrb = "0.3"
|
||||||
tokio = { version = "1", features = ["sync", "time"] }
|
tokio = { version = "1", features = ["sync", "time"] }
|
||||||
|
|
||||||
# Video decoding
|
# 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]
|
[target.'cfg(target_os = "macos")'.dependencies]
|
||||||
ffmpeg-next = { version = "7.0", features = ["build"] }
|
ffmpeg-next = { version = "7.0", features = ["build"] }
|
||||||
|
|
||||||
[target.'cfg(not(target_os = "macos"))'.dependencies]
|
[target.'cfg(not(target_os = "macos"))'.dependencies]
|
||||||
ffmpeg-next = "7.0"
|
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]
|
[profile.dev]
|
||||||
opt-level = 1 # Enable basic optimizations in debug mode for audio decoding performance
|
opt-level = 1 # Enable basic optimizations in debug mode for audio decoding performance
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue