mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-04 17:23:33 +01:00
18 lines
447 B
TOML
18 lines
447 B
TOML
|
[package]
|
||
|
name = "minedmap-default-alloc"
|
||
|
version = "0.1.0"
|
||
|
description = "Helper crate for target-specific selection of global allocator default"
|
||
|
edition.workspace = true
|
||
|
license.workspace = true
|
||
|
readme.workspace = true
|
||
|
repository.workspace = true
|
||
|
|
||
|
[dependencies]
|
||
|
tikv-jemallocator = { version = "0.6.0", optional = true }
|
||
|
|
||
|
[target.'cfg(target_env = "musl")'.dependencies]
|
||
|
tikv-jemallocator = "*"
|
||
|
|
||
|
[features]
|
||
|
jemalloc = ["dep:tikv-jemallocator"]
|