mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-22 14:56:27 +00:00
40 lines
1.4 KiB
TOML
40 lines
1.4 KiB
TOML
[package]
|
|
name = "rustc_codegen_spirv"
|
|
version = "0.1.0"
|
|
authors = ["Embark <opensource@embark-studios.com>"]
|
|
edition = "2018"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/EmbarkStudios/rust-gpu"
|
|
#keywords = []
|
|
#categories = []
|
|
#readme = "README.md"
|
|
|
|
[lib]
|
|
crate-type = ["dylib"]
|
|
|
|
[features]
|
|
# By default, the use-compiled-tools is enabled, as doesn't require additional
|
|
# setup steps for the user. This does however mean that you will need to disable
|
|
# default features and explicitly enable `use-installed-tools` if you are using
|
|
# this in an environment with spirv-tools in PATH, and you don't want to take
|
|
# the compile time cost
|
|
default = ["use-compiled-tools"]
|
|
# If enabled, uses spirv-tools binaries installed in PATH, instead of
|
|
# compiling and linking the spirv-tools C++ code
|
|
use-installed-tools = ["spirv-tools/use-installed-tools"]
|
|
# If enabled will compile and link the C++ code for the spirv tools, the compiled
|
|
# version is preferred if both this and `use-installed-tools` are enabled
|
|
use-compiled-tools = ["spirv-tools/use-compiled-tools"]
|
|
|
|
[dependencies]
|
|
bimap = "0.5"
|
|
rspirv = { git = "https://github.com/gfx-rs/rspirv.git", rev = "01ca0d2e5b667a0e4ff1bc1804511e38f9a08759" }
|
|
spirv-tools = { version = "0.1.0", default-features = false }
|
|
tar = "0.4.30"
|
|
topological-sort = "0.1"
|
|
|
|
[dev-dependencies]
|
|
pipe = "0.3"
|
|
pretty_assertions = "0.6"
|
|
tempfile = "3.1"
|