[package]
name = "framealloc"
version = "0.11.1"
edition = "2021"
authors = ["YelenaTor"]
description = "Intent-aware, thread-smart memory allocation for Rust game engines"
license = "MIT OR Apache-2.0"
repository = "https://github.com/YelenaTor/framealloc"
homepage = "https://github.com/YelenaTor/framealloc"
documentation = "https://docs.rs/framealloc"
keywords = ["allocator", "game-engine", "memory", "frame-allocator", "ide-integration"]
categories = ["memory-management", "game-development", "concurrency"]
readme = "README.md"
rust-version = "1.70"
[features]
default = []
gpu = []
gpu-vulkan = ["gpu", "dep:ash", "dep:gpu-allocator"]
coordinator = ["gpu"]
parking_lot = ["dep:parking_lot"]
bevy = ["dep:bevy_ecs", "dep:bevy_app"]
debug = ["dep:backtrace"]
tracy = ["dep:tracy-client"]
nightly = []
memory_filter = []
tokio = []
diagnostics = []
log = ["dep:log"]
minimal = []
prefetch = []
rapier = ["dep:rapier2d", "dep:rapier3d"]
[dependencies]
crossbeam-queue = "0.3"
parking_lot = { version = "0.12", optional = true }
bevy_ecs = { version = "0.14", optional = true, default-features = false }
bevy_app = { version = "0.14", optional = true, default-features = false }
backtrace = { version = "0.3", optional = true }
tracy-client = { version = "0.17", optional = true }
log = { version = "0.4", optional = true }
rapier2d = { version = "0.31", optional = true }
rapier3d = { version = "0.31", optional = true }
ash = { version = "0.37", optional = true }
gpu-allocator = { version = "0.25", optional = true }
[dev-dependencies]
criterion = "0.5"
bumpalo = "3.14"
[[bench]]
name = "allocator"
harness = false
[[bench]]
name = "allocators"
harness = false
[[bench]]
name = "minimal_mode"
harness = false
[[bench]]
name = "optimizations"
harness = false