forked from NotAPenguin0/phobos-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
53 lines (49 loc) · 1.7 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "phobos"
version = "0.10.0"
edition = "2021"
license = "Apache-2.0"
description = "Fast, powerful Vulkan abstraction library"
repository = "https://github.com/NotAPenguin0/phobos-rs"
readme = "README.md"
keywords = ["graphics", "vulkan"]
categories = ["graphics"]
[dependencies]
ash = { version = "0.37.0", features = ["debug"] }
ash-window = "0.12.0"
raw-window-handle = "0.5.0"
gpu-allocator = "0.22.0"
derivative = "2.2.0"
futures = "0.3.25"
petgraph = "0.6.2"
winit = { version = "0.28.1", optional = true }
anyhow = { version = "1.0.69", features = ["backtrace"] }
thiserror = "1.0.38"
spv-cross = { version = "0.23.2", optional = true, features = ["glsl", "hlsl"] }
log = "0.4.17"
rayon = { version = "1.7.0", optional = true }
static_assertions = "1.1.0"
fsr2-sys = { version = "0.1.2", optional = true, features = ["vk"] }
widestring = { version = "1.0.2", optional = true }
multimap = { version = "0.9.0", features = [], default_features = false }
[build-dependencies]
shaderc = { version = "0.8.2", optional = true, features = ["build-from-source"] }
[dev-dependencies]
pretty_env_logger = "0.4.0"
glam = "0.23.0"
concat-idents = "1.1.4"
[features]
default = ["winit", "debug-markers", "shader-reflection"]
# Logs creation and destruction of all Vulkan objects. Useful for debugging.
log-objects = []
# Automatically insert debug markers at pass begin and end.
debug-markers = []
# Allow using shader reflecting using SPIRV-Cross to automatically fill out
# pipeline layout information.
shader-reflection = ["dep:spv-cross"]
shaderc = ["dep:shaderc"]
# Use hlsl instead of glsl for shader reflection
hlsl = []
rayon = ["dep:rayon"]
# Enable support for FSR2 integration
fsr2 = ["dep:fsr2-sys", "dep:widestring"]