# 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 = "core-graphics2" version = "0.4.1" authors = ["Zhou Wei "] description = "Safe bindings to CoreGraphics framework, including display stream" homepage = "https://github.com/rust-media/apple-media-rs" documentation = "https://docs.rs/core-graphics2" readme = "README.md" keywords = [ "coregraphics", "display", "displaystream", "screencapture", ] categories = [ "graphics", "multimedia", "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 = [ "display", "display-stream", "event", "objc", "window", ] no-default-features = true targets = [ "x86_64-apple-darwin", "x86_64-apple-ios", "aarch64-apple-darwin", "aarch64-apple-ios", ] [[example]] name = "display_stream" [dependencies.bitflags] version = "2.5" [dependencies.block] version = "0.1" [dependencies.cfg-if] version = "1.0" [dependencies.core-foundation] version = "0.10" default-features = false [dependencies.dispatch2] version = "0.1" optional = true [dependencies.io-surface] version = "0.16" optional = true [dependencies.libc] version = "0.2" [dependencies.metal] version = "0.29" optional = true [dependencies.objc2] version = "0.5" optional = true [dev-dependencies.core-video] version = "0.4" [features] default = [ "display", "display-stream", "event", "link", "window", ] display = [] display-stream = [ "dispatch2", "display", "io-surface", "objc", ] event = [] link = ["core-foundation/link"] objc = ["objc2"] window = []