# 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 = "2018" name = "av-foundation" version = "0.5.2" authors = ["Zhou Wei "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Bindings to AVFoundation framework" homepage = "https://github.com/rust-media/apple-media-rs" documentation = "https://docs.rs/av-foundation" readme = "README.md" keywords = [ "avfoundation", "camera", "capture", ] categories = [ "multimedia::video", "os::macos-apis", ] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-media/apple-media-rs" [package.metadata.docs.rs] default-target = "x86_64-apple-darwin" features = ["capture"] no-default-features = true targets = [ "aarch64-apple-darwin", "aarch64-apple-ios", "x86_64-apple-darwin", "x86_64-apple-ios", ] [lib] name = "av_foundation" path = "src/lib.rs" [[example]] name = "video_capture" path = "examples/video_capture.rs" [dependencies.block2] version = "0.5" [dependencies.core-foundation] version = "0.10" default-features = false [dependencies.core-graphics2] version = "0.4" features = ["objc"] default-features = false [dependencies.core-media] version = "0.5" features = ["objc"] default-features = false [dependencies.core-video] version = "0.4" features = ["objc"] default-features = false [dependencies.dispatch2] version = "0.1" [dependencies.libc] version = "0.2" [dependencies.objc2] version = "0.5" [dependencies.objc2-foundation] version = "0.2" features = [ "NSArray", "NSDictionary", "NSEnumerator", "NSError", "NSRange", "NSString", "NSValue", ] [dev-dependencies.os-ver] version = "0.2" [features] audio = [] capture = [] default = [ "capture", "link", ] editing = [] link = [ "core-foundation/link", "core-media/link", "core-video/link", ] playback = []