| # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| # |
| # When uploading crates to the registry Cargo will automatically |
| # "normalize" Cargo.toml files for maximal compatibility |
| # with all versions of Cargo and also rewrite `path` dependencies |
| # to registry (e.g., crates.io) dependencies. |
| # |
| # If you are reading this file be aware that the original Cargo.toml |
| # will likely look very different (and much more reasonable). |
| # See Cargo.toml.orig for the original contents. |
| |
| [package] |
| edition = "2018" |
| name = "gpu-allocator" |
| version = "0.19.1" |
| authors = ["Traverse Research <opensource@traverseresearch.nl>"] |
| include = [ |
| "/README.md", |
| "/LICENSE-*", |
| "/src", |
| "/examples", |
| ] |
| description = "Memory allocator for GPU memory in Vulkan and DirectX 12" |
| homepage = "https://github.com/Traverse-Research/gpu-allocator" |
| documentation = "https://docs.rs/gpu-allocator/" |
| readme = "README.md" |
| keywords = [ |
| "vulkan", |
| "memory", |
| "allocator", |
| ] |
| categories = [ |
| "rendering", |
| "rendering::graphics-api", |
| ] |
| license = "MIT OR Apache-2.0" |
| repository = "https://github.com/Traverse-Research/gpu-allocator" |
| |
| [[example]] |
| name = "vulkan-buffer" |
| required-features = [ |
| "vulkan", |
| "ash/loaded", |
| ] |
| |
| [[example]] |
| name = "vulkan-visualization" |
| required-features = [ |
| "vulkan", |
| "ash/loaded", |
| "visualizer", |
| ] |
| |
| [[example]] |
| name = "d3d12-buffer" |
| required-features = [ |
| "d3d12", |
| "public-winapi", |
| ] |
| |
| [[example]] |
| name = "d3d12-buffer-winrs" |
| required-features = ["d3d12"] |
| |
| [[example]] |
| name = "d3d12-visualization" |
| required-features = [ |
| "d3d12", |
| "public-winapi", |
| "visualizer", |
| ] |
| |
| [dependencies.ash] |
| version = ">=0.34, <=0.37" |
| features = ["debug"] |
| optional = true |
| default-features = false |
| |
| [dependencies.backtrace] |
| version = "0.3" |
| |
| [dependencies.imgui] |
| version = "0.8" |
| features = ["tables-api"] |
| optional = true |
| |
| [dependencies.log] |
| version = "0.4" |
| |
| [dependencies.thiserror] |
| version = "1.0" |
| |
| [dev-dependencies.ash] |
| version = "0.37" |
| features = [ |
| "debug", |
| "loaded", |
| ] |
| default-features = false |
| |
| [dev-dependencies.ash-window] |
| version = "0.10.0" |
| |
| [dev-dependencies.imgui-winit-support] |
| version = "0.8" |
| features = ["winit-26"] |
| default-features = false |
| |
| [dev-dependencies.raw-window-handle] |
| version = "0.4" |
| |
| [dev-dependencies.winit] |
| version = "0.26" |
| |
| [features] |
| d3d12 = ["windows"] |
| default = [ |
| "d3d12", |
| "vulkan", |
| ] |
| public-winapi = ["dep:winapi"] |
| visualizer = ["imgui"] |
| vulkan = ["ash"] |
| |
| [target."cfg(windows)".dependencies.winapi] |
| version = "0.3.9" |
| features = [ |
| "d3d12", |
| "winerror", |
| "impl-default", |
| "impl-debug", |
| ] |
| optional = true |
| |
| [target."cfg(windows)".dependencies.windows] |
| version = "0.36" |
| features = [ |
| "Win32_Foundation", |
| "Win32_Graphics", |
| "Win32_Graphics_Direct3D", |
| "Win32_Graphics_Direct3D12", |
| "Win32_Graphics_Dxgi", |
| "Win32_Graphics_Dxgi_Common", |
| ] |
| optional = true |
| |
| [target."cfg(windows)".dev-dependencies.winapi] |
| version = "0.3.9" |
| features = [ |
| "d3d12", |
| "d3d12sdklayers", |
| "dxgi1_6", |
| "winerror", |
| "impl-default", |
| "impl-debug", |
| "winuser", |
| "windowsx", |
| "libloaderapi", |
| ] |
| |
| [target."cfg(windows)".dev-dependencies.windows] |
| version = "0.36" |
| features = [ |
| "Win32_Foundation", |
| "Win32_Graphics", |
| "Win32_Graphics_Direct3D", |
| "Win32_Graphics_Direct3D12", |
| "Win32_Graphics_Dxgi", |
| "Win32_Graphics_Dxgi_Common", |
| ] |