1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
|
# 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"
name = "dlmalloc"
version = "0.2.7"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A Rust port of the dlmalloc allocator
"""
homepage = "https://github.com/alexcrichton/dlmalloc-rs"
documentation = "https://docs.rs/dlmalloc"
readme = "README.md"
license = "MIT/Apache-2.0"
repository = "https://github.com/alexcrichton/dlmalloc-rs"
[package.metadata.docs.rs]
features = ["global"]
[profile.release]
debug-assertions = true
[lib]
name = "dlmalloc"
path = "src/lib.rs"
doctest = false
[[test]]
name = "global"
path = "tests/global.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[dependencies.cfg-if]
version = "1.0"
[dependencies.compiler_builtins]
version = "0.1.0"
optional = true
[dependencies.core]
version = "1.0.0"
optional = true
package = "rustc-std-workspace-core"
[dev-dependencies.arbitrary]
version = "1.3.2"
[dev-dependencies.rand]
version = "0.8"
features = ["small_rng"]
[features]
debug = []
global = []
rustc-dep-of-std = [
"core",
"compiler_builtins/rustc-dep-of-std",
]
[target.'cfg(all(unix, not(target_arch = "wasm32")))'.dependencies.libc]
version = "0.2"
default-features = false
|