Bug 1858509 add thread-safety annotations around MediaSourceDemuxer::mMonitor r=alwu
[gecko.git] / third_party / rust / metal / Cargo.toml
bloba81b535fd0505960f0f2ab3607217bd337cd7277
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
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.
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.
12 [package]
13 edition = "2021"
14 name = "metal"
15 version = "0.27.0"
16 authors = ["gfx-rs developers"]
17 exclude = [
18     "guide/**/*",
19     "examples/texture/**/*",
20     "tests/**/*",
21     "Cargo.lock",
22     "target/**/*",
24 description = "Rust bindings for Metal"
25 homepage = "https://github.com/gfx-rs/metal-rs"
26 documentation = "https://docs.rs/crate/metal"
27 readme = "README.md"
28 keywords = [
29     "metal",
30     "graphics",
31     "bindings",
33 license = "MIT OR Apache-2.0"
34 repository = "https://github.com/gfx-rs/metal-rs"
36 [package.metadata.docs.rs]
37 default-target = "x86_64-apple-darwin"
39 [[example]]
40 name = "window"
42 [[example]]
43 name = "headless-render"
45 [[example]]
46 name = "library"
48 [[example]]
49 name = "raytracing"
51 [[example]]
52 name = "reflection"
54 [[example]]
55 name = "caps"
57 [[example]]
58 name = "argument-buffer"
60 [[example]]
61 name = "bindless"
63 [[example]]
64 name = "circle"
65 path = "examples/circle/main.rs"
67 [[example]]
68 name = "compute"
69 path = "examples/compute/main.rs"
71 [[example]]
72 name = "mps"
73 required-features = ["mps"]
75 [[example]]
76 name = "embedded-lib"
77 path = "examples/compute/embedded-lib.rs"
79 [[example]]
80 name = "compute-argument-buffer"
81 path = "examples/compute/compute-argument-buffer.rs"
83 [[example]]
84 name = "bind"
86 [[example]]
87 name = "events"
88 required-features = ["dispatch"]
90 [[example]]
91 name = "fence"
93 [dependencies.bitflags]
94 version = "2"
96 [dependencies.block]
97 version = "0.1.6"
99 [dependencies.core-graphics-types]
100 version = "0.1"
102 [dependencies.dispatch]
103 version = "0.2"
104 optional = true
106 [dependencies.foreign-types]
107 version = "0.5"
109 [dependencies.log]
110 version = "0.4"
112 [dependencies.objc]
113 version = "0.2.4"
114 features = ["objc_exception"]
116 [dependencies.paste]
117 version = "1"
119 [dev-dependencies.cocoa]
120 version = "0.24.0"
122 [dev-dependencies.cty]
123 version = "0.2.1"
125 [dev-dependencies.glam]
126 version = "0.22"
128 [dev-dependencies.png]
129 version = "0.17"
131 [dev-dependencies.rand]
132 version = "0.8"
134 [dev-dependencies.sema]
135 version = "0.1.4"
137 [dev-dependencies.winit]
138 version = "0.27"
140 [features]
141 default = ["link"]
142 link = []
143 mps = []
144 private = []