-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCargo.toml
35 lines (29 loc) · 881 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[package]
name = "core-video-sys"
version = "0.1.4"
authors = ["luozijun <[email protected]>", "michael.laifx <[email protected]>"]
description = "Bindings to CoreVideo.framework for macOS and iOS"
license = "MIT"
homepage = "https://github.com/luozijun/rust-core-video-sys"
repository = "https://github.com/luozijun/rust-core-video-sys"
documentation = "https://docs.rs/core-video-sys/*/x86_64-apple-darwin/core-video-sys"
edition = "2018"
[dependencies]
cfg-if = "1.0"
libc = "0.2"
objc = "0.2"
core-foundation-sys = "0.8"
[dependencies.metal]
version = "0.20"
features = ["private"]
optional = true
[dependencies.core-graphics]
version = "0.22"
optional = true
[features]
default = [ "display_link", "metal" ]
all = [ "display_link", "direct3d", "io_suface", "opengl" ]
display_link = [ "opengl", "core-graphics" ]
direct3d = [ ]
io_suface = [ ]
opengl = [ ]