[package]
edition = "2024"
rust-version = "1.85"
name = "vulkan-rust"
version = "0.10.0"
authors = ["Johan Voskamp <55276630+Hiddentale@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ergonomic Vulkan bindings for Rust, generated from vk.xml"
documentation = "https://docs.rs/vulkan-rust"
readme = "README.md"
keywords = [
"vulkan",
"graphics",
"gpu",
"wrapper",
"safe",
]
categories = [
"api-bindings",
"graphics",
"rendering::graphics-api",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Hiddentale/vulkan_rust"
resolver = "2"
[features]
default = ["surface"]
surface = ["dep:raw-window-handle"]
[lib]
name = "vulkan_rust"
path = "src/lib.rs"
[[example]]
name = "double_buffering"
path = "examples/double_buffering.rs"
[[example]]
name = "hello_triangle_1"
path = "examples/hello_triangle_1.rs"
[[example]]
name = "hello_triangle_2"
path = "examples/hello_triangle_2.rs"
[[example]]
name = "hello_triangle_3"
path = "examples/hello_triangle_3.rs"
[[example]]
name = "hello_triangle_4"
path = "examples/hello_triangle_4.rs"
[[example]]
name = "migration_check"
path = "examples/migration_check.rs"
[[example]]
name = "push_constants"
path = "examples/push_constants.rs"
[[example]]
name = "resize"
path = "examples/resize.rs"
[[example]]
name = "textures"
path = "examples/textures.rs"
[[test]]
name = "bytecode_integration"
path = "tests/bytecode_integration.rs"
[[test]]
name = "entry_integration"
path = "tests/entry_integration.rs"
[[test]]
name = "generated_wrappers_integration"
path = "tests/generated_wrappers_integration.rs"
[[test]]
name = "instance_device_integration"
path = "tests/instance_device_integration.rs"
[[test]]
name = "mock_wrapper_tests"
path = "tests/mock_wrapper_tests.rs"
[dependencies.libloading]
version = "0.8"
[dependencies.raw-window-handle]
version = "0.6"
optional = true
[dependencies.vulkan-rust-sys]
version = "0.10.0"
[dev-dependencies.image]
version = "0.25"
[dev-dependencies.winit]
version = "0.30"