blob: 5ab3c77ca2263b70afe088cb988b34ab84ad4e23 (
plain)
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
|
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
edition = "2018"
name = "metal"
version = "0.20.0"
authors = ["GFX Developers"]
exclude = ["guide/**/*", "examples/texture/**/*", "tests/**/*", "Cargo.lock", "target/**/*"]
description = "Rust bindings for Metal"
homepage = "https://github.com/gfx-rs/metal-rs"
documentation = "https://docs.rs/crate/metal"
readme = "README.md"
keywords = ["metal", "graphics", "bindings"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/gfx-rs/metal-rs"
[package.metadata.docs.rs]
default-target = "x86_64-apple-darwin"
[[example]]
name = "window"
[[example]]
name = "headless-render"
[[example]]
name = "library"
[[example]]
name = "reflection"
[[example]]
name = "caps"
[[example]]
name = "argument-buffer"
[[example]]
name = "circle"
path = "examples/circle/main.rs"
[[example]]
name = "compute"
path = "examples/compute/main.rs"
[[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"
[dependencies.bitflags]
version = "1"
[dependencies.block]
version = "0.1.5"
[dependencies.cocoa-foundation]
version = "0.1"
[dependencies.foreign-types]
version = "0.3"
[dependencies.log]
version = "0.4"
[dependencies.objc]
version = "0.2.4"
features = ["objc_exception"]
[dev-dependencies.cocoa]
version = "0.23"
[dev-dependencies.cty]
version = "0.2.1"
[dev-dependencies.png]
version = "0.16"
[dev-dependencies.sema]
version = "0.1.4"
[dev-dependencies.winit]
version = "0.22"
[features]
default = []
private = []
|