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