-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
64 lines (58 loc) · 1.74 KB
/
Copy pathCargo.toml
File metadata and controls
64 lines (58 loc) · 1.74 KB
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
# Copyright (c) Advanced Micro Devices, Inc., or its affiliates.
#
# SPDX-License-Identifier: MIT OR Apache-2.0
[package]
name = "smoldr"
version = "0.1.2"
license = "MIT OR Apache-2.0"
edition = "2021"
[features]
# DirectX 12 is enabled by default, use --no-default-features to disable it on Linux
default = [ "enable_dx12" ]
enable_dx12 = [ "windows" ]
# Use C++ code to compile shaders
enable_cpp = [ "cxx", "cxx-build" ]
# Add Agility SDK support, see readme for more info.
agility_sdk = ["enable_dx12"]
[build-dependencies]
cxx-build = { version = "1", optional = true }
[dev-dependencies]
regex = "1"
test-log = { version = "0.2", default-features = false, features = [ "trace" ] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = [ "env-filter" ] }
[dependencies]
bitflags = "2"
clap = { version = "4", features = ["derive"] }
cxx = { version = "1", optional = true }
half = { version = "2", features = ["std", "num-traits"] }
humantime = "2"
index_vec = "0.1"
memchr = "2"
miette = { version = "7", features = ["fancy"] }
num-traits = "0.2"
tempfile = "3"
thiserror = "2"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = [ "env-filter" ] }
winnow = { version = "1", features = [ "ascii" ] }
[dependencies.windows]
version = "0.62.0"
optional = true
features = [
"Win32_Foundation",
"Win32_Graphics_Direct3D_Dxc",
"Win32_Graphics_Direct3D12",
"Win32_Graphics_Dxgi_Common",
"Win32_Graphics_Gdi",
"Win32_UI_Input",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_Security",
"Win32_System_Console",
"Win32_System_Diagnostics_Debug",
"Win32_System_Kernel",
"Win32_System_LibraryLoader",
"Win32_System_Threading",
"Win32_System_WindowsProgramming",
"Win32_UI_WindowsAndMessaging",
]