2021-05-06 08:56:54 +03:00
|
|
|
[package]
|
2022-10-19 18:51:00 +03:00
|
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
2023-11-11 22:10:56 +03:00
|
|
|
description = "Configures the best memory allocator for each platforms"
|
|
|
|
documentation = "https://rustdoc.swc.rs/swc_malloc/"
|
2022-10-19 18:51:00 +03:00
|
|
|
edition = "2021"
|
|
|
|
license = "Apache-2.0"
|
2023-11-11 22:10:56 +03:00
|
|
|
name = "swc_malloc"
|
2022-10-19 18:51:00 +03:00
|
|
|
repository = "https://github.com/swc-project/swc.git"
|
2024-10-12 10:20:07 +03:00
|
|
|
version = "1.0.0"
|
2021-05-06 08:56:54 +03:00
|
|
|
|
2022-04-04 14:12:03 +03:00
|
|
|
[lib]
|
|
|
|
bench = false
|
2021-05-06 08:56:54 +03:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
2022-05-09 19:59:59 +03:00
|
|
|
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
2024-07-07 03:34:34 +03:00
|
|
|
mimalloc = { version = "0.1" }
|
2022-05-09 19:59:59 +03:00
|
|
|
|
2022-06-14 08:11:47 +03:00
|
|
|
[target.'cfg(all(target_os = "linux", target_env = "gnu", any(target_arch = "x86_64", target_arch = "aarch64")))'.dependencies]
|
2023-11-06 12:57:49 +03:00
|
|
|
tikv-jemallocator = { version = "0.5", features = ["disable_initial_exec_tls"] }
|