[package]
name = "re_video"
authors.workspace = true
description = "Rerun video processing utilities."
edition.workspace = true
homepage.workspace = true
include.workspace = true
license.workspace = true
publish = true
readme = "README.md"
repository.workspace = true
rust-version.workspace = true
version.workspace = true
[lints]
workspace = true
[package.metadata.docs.rs]
all-features = false
no-default-features = true
features = ["all"]
[features]
default = ["av1", "ffmpeg"]
serde = ["dep:serde"]
av1 = ["dep:dav1d"]
ffmpeg = ["dep:ffmpeg-sidecar"]
nasm = [
"dav1d?/default",
]
[dependencies]
re_build_info.workspace = true
re_log.workspace = true
re_tracing.workspace = true
bit-vec.workspace = true
crossbeam.workspace = true
econtext.workspace = true
itertools.workspace = true
once_cell.workspace = true
parking_lot.workspace = true
re_mp4.workspace = true
thiserror.workspace = true
ffmpeg-sidecar = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
[target.'cfg(all(not(target_arch = "wasm32"), not(all(target_os = "linux", target_arch = "aarch64"))))'.dependencies]
dav1d = { workspace = true, optional = true, default-features = false, features = [
"bitdepth_8",
] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys.workspace = true
wasm-bindgen.workspace = true
web-sys = { workspace = true, features = [
"DomException",
"EncodedVideoChunk",
"EncodedVideoChunkInit",
"EncodedVideoChunkType",
"HardwareAcceleration",
"VideoDecoder",
"VideoDecoderConfig",
"VideoDecoderInit",
"VideoFrame",
] }
[dev-dependencies]
indicatif.workspace = true
criterion.workspace = true
[build-dependencies]
re_build_tools.workspace = true
cfg_aliases.workspace = true
[[example]]
name = "frames"
[lib]
bench = false
[[bench]]
name = "video_load_bench"
harness = false