forked from gfx-rs/gfx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
36 lines (32 loc) · 1.37 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
[package]
name = "gfx-backend-dx12"
version = "0.4.0"
description = "DirectX-12 API backend for gfx-rs"
homepage = "https://github.com/gfx-rs/gfx"
repository = "https://github.com/gfx-rs/gfx"
keywords = ["graphics", "gamedev"]
license = "MIT OR Apache-2.0"
authors = ["The Gfx-rs Developers"]
readme = "README.md"
documentation = "https://docs.rs/gfx-backend-dx12"
workspace = "../../.."
edition = "2018"
[features]
default = []
[lib]
name = "gfx_backend_dx12"
[dependencies]
auxil = { path = "../../auxil/auxil", version = "0.2", package = "gfx-auxil", features = ["spirv_cross"] }
hal = { path = "../../hal", version = "0.4", package = "gfx-hal" }
range-alloc = { path = "../../auxil/range-alloc", version = "0.1" }
bitflags = "1"
native = { package = "d3d12", version = "0.3", features = ["libloading"] }
log = { version = "0.4" }
smallvec = "0.6"
spirv_cross = { version = "0.16", features = ["hlsl"] }
winapi = { version = "0.3", features = ["basetsd","d3d12","d3d12sdklayers","d3d12shader","d3dcommon","d3dcompiler","dxgi1_2","dxgi1_3","dxgi1_4","dxgi1_6","dxgidebug","dxgiformat","dxgitype","handleapi","minwindef","synchapi","unknwnbase","winbase","windef","winerror","winnt","winuser"] }
raw-window-handle = "0.3"
# This forces docs.rs to build the crate on windows, otherwise the build fails
# and we get no docs at all.
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"