mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 14:56:42 +00:00
e68eddd5f1
* Add vulkano macros feature to example that needs it
* Add Buffer::pair_from_iter to make it one step easier for staging data to the device
* Revert "Add Buffer::pair_from_iter to make it one step easier for staging data to the device"
This reverts commit a30b5c0925
.
22 lines
637 B
TOML
22 lines
637 B
TOML
[package]
|
|
name = "triangle"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "triangle"
|
|
path = "main.rs"
|
|
test = false
|
|
bench = false
|
|
doc = false
|
|
|
|
[dependencies]
|
|
# The `vulkano` crate is the main crate that you must use to use Vulkan.
|
|
vulkano = { workspace = true, features = ["macros"] }
|
|
# Provides the `shader!` macro that is used to generate code for using shaders.
|
|
vulkano-shaders = { workspace = true }
|
|
# The Vulkan library doesn't provide any functionality to create and handle windows, as
|
|
# this would be out of scope. In order to open a window, we are going to use the `winit` crate.
|
|
winit = { workspace = true }
|