-
Notifications
You must be signed in to change notification settings - Fork 102
Expand file tree
/
Copy pathCargo.toml
More file actions
30 lines (25 loc) · 838 Bytes
/
Cargo.toml
File metadata and controls
30 lines (25 loc) · 838 Bytes
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
[package]
name = "spirv-std"
description = "Standard functions and types for SPIR-V"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
[lints]
workspace = true
[dependencies]
spirv-std-types.workspace = true
spirv-std-macros.workspace = true
bitflags = "1.3.2"
bytemuck = { version = "1.18.0", features = ["derive"], optional = true }
[target.'cfg(target_arch = "spirv")'.dependencies]
num-traits = { workspace = true, features = ["libm"] }
glam = { workspace = true, features = ["libm"] }
libm = { workspace = true }
[target.'cfg(not(target_arch = "spirv"))'.dependencies]
num-traits = { workspace = true, default-features = true }
glam = { workspace = true, default-features = true }
[features]
default = []
bytemuck = ["dep:bytemuck", "glam/bytemuck"]