# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "video-capture" version = "0.1.1" authors = ["Zhou Wei "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Capture multimedia content from camera" homepage = "https://github.com/libark/video-capture" documentation = "https://docs.rs/video-capture" readme = "README.md" keywords = [ "camera", "capture", ] categories = [ "multimedia", "multimedia::video", ] license = "MIT OR Apache-2.0" repository = "https://github.com/libark/video-capture" [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", ] [lib] name = "video_capture" path = "src/lib.rs" [[example]] name = "camera" path = "examples/camera.rs" [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" [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] version = "0.2" features = [ "NSArray", "NSDictionary", "NSObject", ] [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] version = "0.3" features = [ "ImageData", "MediaDeviceInfo", "MediaDeviceKind", "MediaDevices", "MediaStream", "MediaStreamConstraints", "MediaStreamTrack", "MediaStreamTrackState", "MediaTrackConstraints", "MediaTrackSettings", "MediaTrackSupportedConstraints", "Navigator", ] [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] version = "0.58" features = [ "implement", "Win32", "Win32_Foundation", "Win32_Media", "Win32_Media_DirectShow", "Win32_Media_MediaFoundation", "Win32_System_Com", ] [target.'cfg(target_os = "windows")'.dependencies.windows-core] version = "0.58"