-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
33 lines (27 loc) · 922 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
[package]
name = "beryllium"
description = "Opinionated wrapper for `fermium`."
repository = "https://github.com/Lokathor/beryllium"
version = "0.13.3"
edition = "2021"
license = "Zlib OR Apache-2.0 OR MIT"
[features]
cargo_check = ["fermium/cargo_check"]
vulkan = ["raw_vulkan_handle", "fermium/vulkan"]
[dependencies]
fermium = "22605.0.0"
bytemuck = "1"
raw_vulkan_handle = { version = "0.1.1", optional = true }
zstring = { version = "0.2.4", features = ["alloc"] }
pixel_formats = "0.1.5"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
objc = "0.2" # needed to verify that we're on the main thread.
[dev-dependencies]
ash = { version = "0.37.2", default-features = false }
[[example]]
name = "ash_init"
required-features = ["vulkan"]
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
# building the docs is a "check only" style operation.
features = ["cargo_check"]