[package] name = "crabslab" version = "0.6.2" edition = "2021" description = "Slab allocator focused on GPU compute (rust-gpu)" repository = "https://github.com/schell/crabslab" license = "MIT OR Apache-2.0" keywords = ["game", "graphics", "shader", "rendering"] categories = ["rendering", "game-development", "graphics"] readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["glam", "futures-lite"] futures-lite = ["dep:futures-lite"] glam = ["dep:glam"] [dependencies] async-channel = {version = "1.8", optional=true} bytemuck = {version = "1.13.0", optional=true} futures-lite = {version = "1.13", optional=true} log = {version = "0.4", optional=true} crabslab-derive = { version = "0.4.3", path = "../crabslab-derive" } snafu = {version = "0.7", optional=true} [target.'cfg(not(target_arch = "spirv"))'.dependencies] glam = { workspace = true, features = ["std"], optional = true } [target.'cfg(target_arch = "spirv")'.dependencies] glam = { workspace = true, default-features = false, features = ["libm"], optional = true } spirv-std = "0.9.0"