rustfs-mimalloc-sys 0.5.2

Low-level FFI bindings to mimalloc V3
Documentation
[package]
name = "rustfs-mimalloc-sys"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
authors.workspace = true
homepage.workspace = true
documentation = "https://docs.rs/rustfs-mimalloc-sys"
description = "Low-level FFI bindings to mimalloc V3"
keywords.workspace = true
categories.workspace = true
readme = "README.md"
links = "mimalloc"
build = "build.rs"
include = [
    "Cargo.toml",
    "README.md",
    "build.rs",
    "src/**",
    "c_src/mimalloc/LICENSE",
    "c_src/mimalloc/include/**",
    "c_src/mimalloc/src/**",
]

[features]
default = []
# Security: heap allocation encryption (MI_SECURE=4)
secure = []
# Debug mode with extra checks
debug = []
# Automatically enable debug mode in debug builds
debug_in_debug = []
# Override system malloc/free (use with caution)
override = []
# Use local-dynamic TLS model instead of initial-exec
# Fixes compatibility issues with some projects (e.g., polars)
local_dynamic_tls = []
# Disable Transparent Huge Pages on Linux/Android
no_thp = []

[build-dependencies]
cc = "1.4.4"