forked from gfx-rs/metal-rs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
110 lines (87 loc) · 1.9 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
108
109
110
[package]
name = "metal"
version = "0.27.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]
default-target = "x86_64-apple-darwin"
[features]
default = ["link"]
private = []
mps = []
link = []
[dependencies]
core-graphics-types = "0.1"
bitflags = "2"
log = "0.4"
block = "0.1.6"
foreign-types = "0.5"
dispatch = { version = "0.2", optional = true }
paste = "1"
half = "2.3.1"
[dependencies.objc]
version = "0.2.4"
features = ["objc_exception"]
[dev-dependencies]
cocoa = "0.24.0"
cty = "0.2.1"
winit = "0.27"
sema = "0.1.4"
png = "0.17"
glam = "0.22"
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-matrix-multiplication"
path = "examples/mps/matrix-multiplication/main.rs"
required-features = ["mps"]
[[example]]
name = "mps-ray-intersection"
path = "examples/mps/ray-intersection/main.rs"
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",
]