-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (34 loc) · 1.21 KB
/
Cargo.toml
File metadata and controls
41 lines (34 loc) · 1.21 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
[package]
name = "lambda-rs-platform"
description = "Platform implementations for lambda-rs"
version = "2023.1.30"
edition = "2021"
resolver = "2"
license = "MIT"
[lib]
name = "lambda_platform"
path = "src/lib.rs"
[dependencies]
winit = "=0.29.15"
shaderc = { version = "=0.7", optional = true, default-features = false }
naga = { version = "=26.0.0", optional = true, default-features = false, features = ["spv-out", "glsl-in", "wgsl-in"] }
rand = "=0.8.5"
obj-rs = "=0.7.0"
wgpu = { version = "=26.0.1", optional = true, features = ["wgsl", "spirv"] }
pollster = { version = "=0.4.0", optional = true }
lambda-rs-logging = { path = "../lambda-rs-logging", version = "2023.1.30" }
[dev-dependencies]
mockall = "=0.11.3"
[features]
default=["wgpu", "shader-backend-naga"]
shader-backend-naga=["dep:naga"]
shader-backend-shaderc=["dep:shaderc"]
shader-backend-shaderc-build-from-source=["shader-backend-shaderc", "shaderc/build-from-source"]
wgpu=["dep:wgpu", "dep:pollster", "wgpu/wgsl", "wgpu/spirv", "shader-backend-naga"]
wgpu-with-vulkan=["wgpu"]
wgpu-with-metal=["wgpu", "wgpu/metal"]
wgpu-with-dx12=["wgpu", "wgpu/dx12"]
wgpu-with-gl=["wgpu", "wgpu/webgl"]
[profile.dev]
crate-type = ["cdylib", "rlib"]
incremental = true