# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "core-video-sys"
version = "0.1.4"
authors = ["luozijun <luozijun.assistant@gmail.com>", "michael.laifx <cihv2@163.com>"]
description = "Bindings to CoreVideo.framework for macOS and iOS"
homepage = "https://github.com/luozijun/rust-core-video-sys"
documentation = "https://docs.rs/core-video-sys/*/x86_64-apple-darwin/core-video-sys"
license = "MIT"
repository = "https://github.com/luozijun/rust-core-video-sys"
[dependencies.cfg-if]
version = "0.1"

[dependencies.core-foundation-sys]
version = "0.7"

[dependencies.core-graphics]
version = "0.19"
optional = true

[dependencies.libc]
version = "0.2"

[dependencies.metal]
version = "0.18"
features = ["private"]
optional = true

[dependencies.objc]
version = "0.2"

[features]
all = ["display_link", "direct3d", "io_suface", "opengl"]
default = ["display_link", "metal"]
direct3d = []
display_link = ["opengl", "core-graphics"]
io_suface = []
opengl = []
