generated from EmbarkStudios/opensource-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
46 lines (39 loc) · 1.3 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
workspace = { members = ["tools/package", "tools/install"] }
[package]
name = "spirv-tools"
description = "Wrapper crate for SPIRV-Tools"
repository = "https://github.com/EmbarkStudios/spirv-tools-rs"
version = "0.10.0"
authors = ["Embark <opensource@embark-studios.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/spirv-tools"
homepage = "https://github.com/EmbarkStudios/spirv-tools-rs"
keywords = ["spir-v", "rust-gpu"]
categories = ["rendering::data-formats"]
exclude = [".github", "release.toml"]
[features]
default = ["use-compiled-tools"]
use-installed-tools = [
"spirv-tools-sys/use-installed-tools",
"memchr",
"tempfile",
]
use-compiled-tools = ["spirv-tools-sys/use-compiled-tools"]
[dependencies]
spirv-tools-sys = { version = "0.8", path = "./spirv-tools-sys", default-features = false }
# Used for parsing output when running binaries
memchr = { version = "2.3", optional = true }
tempfile = { version = "3.1", optional = true }
[dev-dependencies]
similar = "2.0"
[[test]]
name = "optimizer"
required-features = ["use-compiled-tools", "use-installed-tools"]
[[test]]
name = "assembler"
required-features = ["use-compiled-tools", "use-installed-tools"]
[[test]]
name = "issue_22"
required-features = ["use-compiled-tools", "use-installed-tools"]