Debian Codegraph @

third_party/rust/metal/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.82"
15 name = "metal"
16 version = "0.32.0"
17 authors = ["gfx-rs developers"]
18 build = false
19 exclude = [
20 "guide/**/*",
21 "examples/texture/**/*",
22 "tests/**/*",
23 "Cargo.lock",
24 "target/**/*",
25 ]
26 autolib = false
27 autobins = false
28 autoexamples = false
29 autotests = false
30 autobenches = false
31 description = "Rust bindings for Metal"
32 homepage = "https://github.com/gfx-rs/metal-rs"
33 documentation = "https://docs.rs/crate/metal"
34 readme = "README.md"
35 keywords = [
36 "metal",
37 "graphics",
38 "bindings",
39 ]
40 license = "MIT OR Apache-2.0"
41 repository = "https://github.com/gfx-rs/metal-rs"
42
43 [package.metadata.docs.rs]
44 targets = [
45 "aarch64-apple-darwin",
46 "aarch64-apple-ios",
47 "aarch64-apple-ios-sim",
48 "x86_64-apple-darwin",
49 "x86_64-apple-ios",
50 ]
51
52 [lib]
53 name = "metal"
54 path = "src/lib.rs"
55
56 [[example]]
57 name = "argument-buffer"
58 path = "examples/argument-buffer/main.rs"
59
60 [[example]]
61 name = "bind"
62 path = "examples/bind/main.rs"
63
64 [[example]]
65 name = "bindless"
66 path = "examples/bindless/main.rs"
67
68 [[example]]
69 name = "caps"
70 path = "examples/caps/main.rs"
71
72 [[example]]
73 name = "circle"
74 path = "examples/circle/main.rs"
75
76 [[example]]
77 name = "compute"
78 path = "examples/compute/main.rs"
79
80 [[example]]
81 name = "compute-argument-buffer"
82 path = "examples/compute/compute-argument-buffer.rs"
83
84 [[example]]
85 name = "embedded-lib"
86 path = "examples/compute/embedded-lib.rs"
87
88 [[example]]
89 name = "events"
90 path = "examples/events/main.rs"
91 required-features = ["dispatch"]
92
93 [[example]]
94 name = "fence"
95 path = "examples/fence/main.rs"
96
97 [[example]]
98 name = "headless-render"
99 path = "examples/headless-render/main.rs"
100
101 [[example]]
102 name = "library"
103 path = "examples/library/main.rs"
104
105 [[example]]
106 name = "mesh-shader"
107 path = "examples/mesh-shader/main.rs"
108
109 [[example]]
110 name = "mps"
111 path = "examples/mps/main.rs"
112 required-features = ["mps"]
113
114 [[example]]
115 name = "raytracing"
116 path = "examples/raytracing/main.rs"
117
118 [[example]]
119 name = "reflection"
120 path = "examples/reflection/main.rs"
121
122 [[example]]
123 name = "shader-dylib"
124 path = "examples/shader-dylib/main.rs"
125
126 [[example]]
127 name = "window"
128 path = "examples/window/main.rs"
129
130 [dependencies.bitflags]
131 version = "2"
132
133 [dependencies.block]
134 version = "0.1.6"
135
136 [dependencies.core-graphics-types]
137 version = "0.2.0"
138 default-features = false
139
140 [dependencies.dispatch]
141 version = "0.2"
142 optional = true
143
144 [dependencies.foreign-types]
145 version = "0.5"
146
147 [dependencies.log]
148 version = "0.4"
149
150 [dependencies.objc]
151 version = "0.2.4"
152
153 [dependencies.paste]
154 version = "1"
155
156 [dev-dependencies.cocoa]
157 version = "0.25.0"
158
159 [dev-dependencies.glam]
160 version = "0.27"
161
162 [dev-dependencies.png]
163 version = "0.17"
164
165 [dev-dependencies.rand]
166 version = "0.8"
167
168 [dev-dependencies.sema]
169 version = "0.1.4"
170
171 [dev-dependencies.winit]
172 version = "0.29"
173
174 [features]
175 cargo-clippy = []
176 default = ["link"]
177 link = ["core-graphics-types/link"]
178 mps = []
179 private = []