compatmalloc 0.1.0

A memory-hardening drop-in allocator with standard C ABI
Documentation
# 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 = "2021"
rust-version = "1.87"
name = "compatmalloc"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A memory-hardening drop-in allocator with standard C ABI"
homepage = "https://tcun.dev/compatmalloc/"
readme = "README.md"
keywords = [
    "allocator",
    "malloc",
    "hardening",
    "security",
    "memory-safety",
]
categories = [
    "memory-management",
    "os",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/t-cun/compatmalloc"

[features]
canaries = []
default = ["hardened"]
global-allocator = ["hardened"]
guard-pages = []
hardened = [
    "quarantine",
    "guard-pages",
    "slot-randomization",
    "canaries",
    "poison-on-free",
    "write-after-free-check",
    "zero-on-free",
]
mte = []
poison-on-free = []
quarantine = []
slot-randomization = []
write-after-free-check = []
zero-on-free = []

[lib]
name = "compatmalloc"
crate-type = [
    "cdylib",
    "lib",
]
path = "src/lib.rs"

[[test]]
name = "abi_basic"
path = "tests/abi_basic.rs"

[[test]]
name = "global_allocator"
path = "tests/global_allocator.rs"

[[test]]
name = "hardening_detection"
path = "tests/hardening_detection.rs"

[[test]]
name = "threading_stress"
path = "tests/threading_stress.rs"

[dependencies.libc]
version = "0.2"

[dev-dependencies.rand]
version = "0.8"

[build-dependencies.cc]
version = "1"