[[example]]
name = "vulkan-buffer"
required-features = ["vulkan", "ash/loaded"]
[[example]]
name = "d3d12-buffer"
required-features = ["d3d12", "public-winapi"]
[[example]]
name = "d3d12-buffer-winrs"
required-features = ["d3d12"]
[dependencies.ash]
default-features = false
features = ["debug"]
optional = true
version = ">=0.34, <=0.37"
[dependencies.backtrace]
version = "0.3"
[dependencies.imgui]
features = ["tables-api"]
optional = true
version = "0.10"
[dependencies.log]
version = "0.4"
[dependencies.thiserror]
version = "1.0"
[dev-dependencies.ash]
default-features = false
features = ["debug", "loaded"]
version = "0.37"
[dev-dependencies.ash-window]
version = "0.12"
[dev-dependencies.env_logger]
version = "0.10"
[dev-dependencies.raw-window-handle]
version = "0.5"
[dev-dependencies.winit]
features = ["x11", "wayland"]
version = "0.27"
[features]
d3d12 = ["windows"]
default = ["d3d12", "vulkan"]
public-winapi = ["dep:winapi"]
visualizer = ["imgui"]
vulkan = ["ash"]
[package]
authors = ["Traverse Research <opensource@traverseresearch.nl>"]
categories = ["rendering", "rendering::graphics-api"]
description = "Memory allocator for GPU memory in Vulkan and DirectX 12"
documentation = "https://docs.rs/gpu-allocator/"
edition = "2018"
homepage = "https://github.com/Traverse-Research/gpu-allocator"
include = ["/README.md", "/LICENSE-*", "/src", "/examples"]
keywords = ["vulkan", "memory", "allocator"]
license = "MIT OR Apache-2.0"
name = "gpu-allocator"
readme = "README.md"
repository = "https://github.com/Traverse-Research/gpu-allocator"
version = "0.22.0"
[target."cfg(windows)".dependencies.winapi]
features = ["d3d12", "winerror", "impl-default", "impl-debug"]
optional = true
version = "0.3.9"
[target."cfg(windows)".dependencies.windows]
features = ["Win32_Foundation", "Win32_Graphics", "Win32_Graphics_Direct3D", "Win32_Graphics_Direct3D12", "Win32_Graphics_Dxgi", "Win32_Graphics_Dxgi_Common"]
optional = true
version = "0.44"
[target."cfg(windows)".dev-dependencies.winapi]
features = ["d3d12", "d3d12sdklayers", "dxgi1_6", "winerror", "impl-default", "impl-debug", "winuser", "windowsx", "libloaderapi"]
version = "0.3.9"
[target."cfg(windows)".dev-dependencies.windows]
features = ["Win32_Foundation", "Win32_Graphics", "Win32_Graphics_Direct3D", "Win32_Graphics_Direct3D12", "Win32_Graphics_Dxgi", "Win32_Graphics_Dxgi_Common"]
version = "0.44"