Skip to main content

native/nx_vulkan_vulkano/Cargo.toml

[package]
name = "nx_vulkan_vulkano"
version = "0.0.1"
authors = ["Igor Ostaptchenko <igor@octanix.com>"]
edition = "2021"
description = "Pure-Rust Rustler NIF for synthesised Vulkan chain shader dispatch via vulkano. Sibling of nx_vulkan_native — no C++ shim, no spirit backend; Arc<Buffer> resource lifetimes."

[lib]
name = "nx_vulkan_vulkano"
path = "src/lib.rs"
crate-type = ["cdylib"]

[dependencies]
rustler = "0.36"
vulkano = "0.34"
# Vulkano 0.34 uses ahash::HashMap throughout its public API
# (e.g. shader.specialize takes HashMap<u32, _, ahash::RandomState>).
# We match the version vulkano pulls in transitively to share the
# same RandomState type.
ahash = "0.8"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1