[dependencies.ash]
default-features = false
features = ["debug"]
optional = true
version = "0.38"
[dependencies.egui]
default-features = false
optional = true
version = ">=0.24, <=0.27"
[dependencies.egui_extras]
default-features = false
optional = true
version = ">=0.24, <=0.27"
[dependencies.log]
version = "0.4"
[dependencies.presser]
version = "0.3"
[dependencies.thiserror]
version = "1.0"
[dev-dependencies.ash]
default-features = false
features = ["debug", "loaded"]
version = "0.38"
[dev-dependencies.env_logger]
version = "0.10"
[[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"]
[[example]]
name = "metal-buffer"
required-features = ["metal"]
[features]
d3d12 = ["dep:windows"]
default = ["d3d12", "vulkan"]
metal = ["dep:metal"]
public-winapi = ["dep:winapi"]
visualizer = ["dep:egui", "dep:egui_extras"]
vulkan = ["dep: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 = "2021"
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"
rust-version = "1.70"
version = "0.27.0"
[package.metadata.docs.rs]
all-features = true
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.metal]
default-features = false
features = ["link", "dispatch"]
optional = true
version = "0.29.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_Graphics_Direct3D12", "Win32_Graphics_Dxgi_Common"]
optional = true
version = ">=0.53,<=0.58"
[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_Graphics_Direct3D", "Win32_Graphics_Direct3D12", "Win32_Graphics_Dxgi_Common"]
version = "0.58"