-
Notifications
You must be signed in to change notification settings - Fork 111
/
Cargo.toml
107 lines (85 loc) · 1.86 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[package]
name = "metal"
version = "0.30.0"
description = "Rust bindings for Metal"
documentation = "https://docs.rs/crate/metal"
homepage = "https://github.com/gfx-rs/metal-rs"
repository = "https://github.com/gfx-rs/metal-rs"
authors = ["gfx-rs developers"]
readme = "README.md"
keywords = ["metal", "graphics", "bindings"]
license = "MIT OR Apache-2.0"
edition = "2021"
exclude = ["guide/**/*", "examples/texture/**/*", "tests/**/*", "Cargo.lock", "target/**/*"]
[package.metadata.docs.rs]
targets = [
"aarch64-apple-darwin", # presented first in Docs.rs, keep this here
"aarch64-apple-ios",
"aarch64-apple-ios-sim",
"x86_64-apple-darwin",
"x86_64-apple-ios",
]
[features]
default = ["link"]
private = []
mps = []
link = ["core-graphics-types/link"]
[dependencies]
core-graphics-types = { version = "0.1.3", default-features = false }
bitflags = "2"
log = "0.4"
block = "0.1.6"
foreign-types = "0.5"
dispatch = { version = "0.2", optional = true }
paste = "1"
[dependencies.objc]
version = "0.2.4"
[dev-dependencies]
cocoa = "0.25.0"
winit = "0.29"
sema = "0.1.4"
png = "0.17"
glam = "0.27"
rand = "0.8"
[[example]]
name = "window"
[[example]]
name = "headless-render"
[[example]]
name = "library"
[[example]]
name = "raytracing"
[[example]]
name = "reflection"
[[example]]
name = "caps"
[[example]]
name = "argument-buffer"
[[example]]
name = "bindless"
[[example]]
name = "circle"
path = "examples/circle/main.rs"
[[example]]
name = "compute"
path = "examples/compute/main.rs"
[[example]]
name = "mps"
required-features = ["mps"]
[[example]]
name = "embedded-lib"
path = "examples/compute/embedded-lib.rs"
[[example]]
name = "compute-argument-buffer"
path = "examples/compute/compute-argument-buffer.rs"
[[example]]
name = "bind"
[[example]]
name = "events"
required-features = ["dispatch"]
[[example]]
name = "fence"
[workspace]
members = [
"examples/texture",
]