2020-09-30 15:34:26 +09:00
|
|
|
[package]
|
|
|
|
authors = ["LongYinan <lynweklm@gmail.com>"]
|
|
|
|
edition = "2018"
|
2020-10-11 22:36:14 +09:00
|
|
|
name = "napi-bench"
|
|
|
|
version = "0.1.0"
|
2020-09-30 15:34:26 +09:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
|
|
|
[dependencies]
|
2021-06-03 00:03:47 +09:00
|
|
|
napi = {path = "../napi", features = ["tokio_rt", "serde-json"]}
|
2020-10-11 22:36:14 +09:00
|
|
|
napi-derive = {path = "../napi-derive"}
|
2021-05-14 00:36:39 +09:00
|
|
|
serde = "1"
|
|
|
|
serde_json = "1"
|
2020-09-30 15:34:26 +09:00
|
|
|
|
2021-06-01 00:21:56 +09:00
|
|
|
[target.'cfg(all(unix, not(target_env = "musl"), not(target_arch = "aarch64"), not(target_arch = "arm")))'.dependencies]
|
2020-12-21 17:10:30 +09:00
|
|
|
jemallocator = {version = "0.3", features = ["disable_initial_exec_tls"]}
|
|
|
|
|
2021-06-01 00:21:56 +09:00
|
|
|
[target.'cfg(all(windows, not(target_arch = "aarch64")))'.dependencies]
|
2020-12-21 17:10:30 +09:00
|
|
|
mimalloc = {version = "0.1"}
|
|
|
|
|
2020-09-30 15:34:26 +09:00
|
|
|
[build-dependencies]
|
2020-10-11 22:36:14 +09:00
|
|
|
napi-build = {path = "../build"}
|