framealloc 0.7.1

Intent-aware, thread-smart memory allocation for Rust game engines
Documentation
[package]

name = "framealloc"

version = "0.7.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 = []



# Use parking_lot for faster mutexes

parking_lot = ["dep:parking_lot"]



# Bevy integration

bevy = ["dep:bevy_ecs", "dep:bevy_app"]



# Debug features: memory poisoning, allocation backtraces

debug = ["dep:backtrace"]



# Tracy profiler integration

tracy = ["dep:tracy-client"]



# Nightly: std::alloc::Allocator trait implementations

nightly = []



# Memory behavior filter: runtime detection of allocation pattern issues (v0.4.0)

# Tracks per-tag allocation behavior and detects intent violations

memory_filter = []



[dependencies]

# Lock-free concurrent queue for deferred frees

crossbeam-queue = "0.3"



# Optional: faster mutexes

parking_lot = { version = "0.12", optional = true }



# Optional: Bevy integration (using minimal deps)

bevy_ecs = { version = "0.14", optional = true, default-features = false }

bevy_app = { version = "0.14", optional = true, default-features = false }



# Optional: debug backtraces

backtrace = { version = "0.3", optional = true }



# Optional: Tracy profiler

tracy-client = { version = "0.17", optional = true }



[dev-dependencies]

criterion = "0.5"



[[bench]]

name = "allocator"

harness = false