2020-09-30 15:34:26 +09:00
|
|
|
[package]
|
|
|
|
authors = ["LongYinan <lynweklm@gmail.com>"]
|
2021-12-08 13:52:33 +09:00
|
|
|
edition = "2021"
|
2020-10-11 22:36:14 +09:00
|
|
|
name = "napi-bench"
|
2021-11-01 00:32:40 +09:00
|
|
|
publish = false
|
2020-10-11 22:36:14 +09:00
|
|
|
version = "0.1.0"
|
2020-09-30 15:34:26 +09:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
|
|
|
[dependencies]
|
2022-02-10 20:00:38 +09:00
|
|
|
napi = { path = "../crates/napi", features = [
|
|
|
|
"tokio_rt",
|
|
|
|
"serde-json",
|
|
|
|
"compat-mode",
|
|
|
|
] }
|
|
|
|
napi-derive = { path = "../crates/macro", features = ["compat-mode"] }
|
2021-05-14 00:36:39 +09:00
|
|
|
serde = "1"
|
|
|
|
serde_json = "1"
|
2020-09-30 15:34:26 +09:00
|
|
|
|
2021-06-22 00:09:13 +09:00
|
|
|
[target.'cfg(all(target_arch = "x86_64", not(target_env = "musl")))'.dependencies]
|
2022-02-10 20:00:38 +09:00
|
|
|
mimalloc = { version = "0.1" }
|
2020-12-21 17:10:30 +09:00
|
|
|
|
2020-09-30 15:34:26 +09:00
|
|
|
[build-dependencies]
|
2022-02-10 20:00:38 +09:00
|
|
|
napi-build = { path = "../crates/build" }
|