26 lines
758 B
TOML
26 lines
758 B
TOML
[package]
|
|
name = "wzp-video"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
bytes = { workspace = true }
|
|
tracing = { workspace = true }
|
|
wzp-proto = { path = "../wzp-proto" }
|
|
|
|
# AV1 SW codecs: shiguredo crates download prebuilt binaries at build time.
|
|
# Prebuilts are available for macOS only; Android uses MediaCodec; Linux will
|
|
# use system/vendored libs when that path is wired up (TODO).
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
shiguredo_dav1d = "2026.1.0"
|
|
shiguredo_svt_av1 = "2026.1.0"
|
|
shiguredo_video_toolbox = "2026.1"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
ndk = { version = "0.9", features = ["api-level-26", "media"] }
|
|
|
|
[dev-dependencies]
|
|
rand = "0.8"
|