Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

1.2 KB
Raw Blame
[package]
name = "cap-video-decode"
version = "0.1.0"
edition = "2024"

[lints]
workspace = true

[features]
# Test-only: lets decoder model tests register scripted media in place of files.
scripted = []

[dependencies]
cap-enc-ffmpeg = { path = "../enc-ffmpeg" }
ffmpeg.workspace = true
ffmpeg-hw-device = { path = "../ffmpeg-hw-device" }
num_cpus = "1.17.0"
tempfile = "3"
tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }
tracing = "0.1.41"
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[dev-dependencies]
cap-media-info = { path = "../media-info" }
serde_json.workspace = true
sha2 = "0.10"

[target.'cfg(target_os = "macos")'.dependencies]
cidre = { workspace = true }

[target.'cfg(target_os = "windows")'.dependencies]
cap-d3d-adapter = { path = "../d3d-adapter" }
windows = { workspace = true, features = [
    "Win32_Foundation",
    "Win32_Graphics_Direct3D",
    "Win32_Graphics_Direct3D11",
    "Win32_Graphics_Direct3D_Fxc",
    "Win32_Graphics_Dxgi",
    "Win32_Graphics_Dxgi_Common",
    "Win32_Media",
    "Win32_Media_MediaFoundation",
    "Win32_Security",
    "Win32_System_Com",
    "Win32_System_Com_StructuredStorage",
    "Win32_System_Ole",
    "Win32_System_Variant",
] }