[dependencies.cfg-if]
version = "1.0"
[dependencies.os-ver]
version = "0.2"
[dependencies.thiserror]
version = "1.0"
[dependencies.x-base]
version = "0.1"
[dependencies.x-media]
version = "0.1"
[dependencies.x-variant]
version = "0.1"
[[example]]
name = "camera"
path = "examples/camera.rs"
[lib]
name = "video_capture"
path = "src/lib.rs"
[package]
authors = ["Zhou Wei <zhouwei@ehom.net>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["multimedia", "multimedia::video"]
description = "Capture multimedia content from camera"
documentation = "https://docs.rs/video-capture"
edition = "2021"
homepage = "https://github.com/libark/video-capture"
keywords = ["camera", "capture"]
license = "MIT OR Apache-2.0"
name = "video-capture"
readme = "README.md"
repository = "https://github.com/libark/video-capture"
version = "0.1.1"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = ["x86_64-pc-windows-msvc", "x86_64-apple-darwin", "x86_64-apple-ios", "aarch64-apple-darwin", "aarch64-apple-ios"]
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.av-foundation]
version = "0.5"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-foundation]
version = "0.10"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-media]
version = "0.5"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-video]
version = "0.4"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.dispatch2]
version = "0.1"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2]
version = "0.5"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-foundation]
features = ["NSArray", "NSDictionary", "NSObject"]
version = "0.2"
[target.'cfg(target_family = "wasm")'.dependencies.js-sys]
version = "0.3"
[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_family = "wasm")'.dependencies.web-sys]
features = ["ImageData", "MediaDeviceInfo", "MediaDeviceKind", "MediaDevices", "MediaStream", "MediaStreamConstraints", "MediaStreamTrack", "MediaStreamTrackState", "MediaTrackConstraints", "MediaTrackSettings", "MediaTrackSupportedConstraints", "Navigator"]
version = "0.3"
[target.'cfg(target_family = "wasm")'.dependencies.web-time]
version = "1.1"
[target.'cfg(target_family = "wasm")'.dev-dependencies.console_error_panic_hook]
version = "0.1"
[target.'cfg(target_os = "windows")'.dependencies.windows]
features = ["implement", "Win32", "Win32_Foundation", "Win32_Media", "Win32_Media_DirectShow", "Win32_Media_MediaFoundation", "Win32_System_Com"]
version = "0.58"
[target.'cfg(target_os = "windows")'.dependencies.windows-core]
version = "0.58"