-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
36 lines (29 loc) · 973 Bytes
/
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
[package]
name = "maia"
version = "0.1.1"
edition = "2021"
rust-version = "1.60"
license = "MIT OR Apache-2.0"
description = "Safe low-level Vulkan bindings"
homepage = "https://github.com/danielkeller/maia"
repository = "https://github.com/danielkeller/maia"
[dependencies]
bitflags = "1.3"
bumpalo = { version = "3.10", features = ["collections"] }
raw-window-handle = { version = "0.4", optional = true }
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
raw-window-metal = { version = "0.2", optional = true }
[features]
window = ["dep:raw-window-handle", "dep:raw-window-metal"]
[dev-dependencies]
# For doctests. See hello-triangle/Cargo.toml
maia = { path = ".", features = [ "window" ] }
[target.'cfg(loom)'.dependencies]
loom = "0.5"
[workspace]
members = ["demo"]
# Build with
# RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --no-deps --all-features
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]