makepad/platform/video/Cargo.toml
Admin 0410ce4ef9 platform: cfg/warning/docs chores inside the render/UI core
Squash of 3 work commits (Sep 2–12):
  debd8c1  rename: the mp prefix goes — apps/wm, files, terminal, browser, task, sheets, image, video, pdf; libs/wm_api and wm_theme
  6dcca00  workspace: no timed std waits on web-reachable paths — the clippy gate covers every web demo's dependency set
  9d8e314  platform: drop two in-band coordination notes that were committed with the tree

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 13:39:38 +02:00

46 lines
1.4 KiB
TOML

[package]
name = "makepad-platform-video"
version = "1.0.0"
edition = "2021"
description = "Offline hardware video file encode/decode (Media Foundation / VideoToolbox), no Cx"
license = "MIT OR Apache-2.0"
[lib]
name = "makepad_video"
path = "src/lib.rs"
[dependencies]
[target.'cfg(windows)'.dependencies.windows]
path = "../../libs/windows/windows-rs"
version = "0.62.2"
# Same Media Foundation surface as platform's windows dep so the vendored
# windows crate enables IMFSinkWriter / source-reader (H3 mux).
features = [
"Win32_Foundation",
"Win32_Graphics_Direct3D",
"Win32_Graphics_Direct3D11",
"Win32_Graphics_Direct3D9",
"Win32_Graphics_Dxgi",
"Win32_Graphics_Dxgi_Common",
"Win32_Graphics_Gdi",
"Win32_Media",
"Win32_Media_Audio",
"Win32_Media_DxMediaObjects",
"Win32_Media_KernelStreaming",
"Win32_Media_MediaFoundation",
"Win32_Media_Multimedia",
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
"Win32_System_Ole",
"Win32_System_SystemServices",
"Win32_System_Threading",
"Win32_System_Variant",
"Win32_System_WinRT",
"Win32_UI_Shell",
"Win32_UI_Shell_PropertiesSystem",
]
[target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "tvos"))'.dependencies]
makepad-apple-sys = { path = "../../libs/apple_sys", version = "1.0.0" }
makepad-objc-sys = { path = "../../libs/objc-sys", version = "1.0.0" }