[package]
edition = "2024"
name = "rusty_alloc"
version = "0.1.0-alpha.2"
authors = ["remade-with-rust"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Allocator core of the rusty_alloc pure-Rust remake of mimalloc v2.4.5: segments, free-list-sharded pages, lock-free cross-thread frees, first-class heaps, arenas and a mi_*-compatible surface. Detects double frees. MIT."
documentation = "https://docs.rs/rusty_alloc"
readme = "README.md"
keywords = [
"allocator",
"malloc",
"mimalloc",
"memory",
"no-std",
]
categories = [
"memory-management",
"no-std",
"development-tools",
]
license = "MIT"
repository = "https://github.com/remade-with-rust/rusty_alloc"
resolver = "2"
[features]
debug_checks = []
default = []
profile = []
secure = []
[lib]
name = "rusty_alloc"
path = "src/lib.rs"
[[test]]
name = "alloc_core"
path = "tests/alloc_core.rs"
[[test]]
name = "double_free"
path = "tests/double_free.rs"
[[test]]
name = "heaps"
path = "tests/heaps.rs"
[[test]]
name = "loom_xthread"
path = "tests/loom_xthread.rs"
[[test]]
name = "prim"
path = "tests/prim.rs"
[[test]]
name = "prim_miri"
path = "tests/prim_miri.rs"
[[test]]
name = "secure"
path = "tests/secure.rs"
[[test]]
name = "spans"
path = "tests/spans.rs"
[[test]]
name = "stress_mt"
path = "tests/stress_mt.rs"
[dev-dependencies.loom]
version = "0.7"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
default-features = false
[target."cfg(windows)".dependencies.windows-sys]
version = "0.60"
features = [
"Win32_Foundation",
"Win32_System_Memory",
"Win32_System_SystemInformation",
"Win32_System_Threading",
"Win32_System_Performance",
"Win32_System_ProcessStatus",
"Win32_Security_Cryptography",
]
[lints.clippy]
undocumented_unsafe_blocks = "deny"
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]