napi-rs/bench/Cargo.toml

26 lines
550 B
TOML
Raw Permalink Normal View History

[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"
[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"
[target.'cfg(all(target_arch = "x86_64", not(target_env = "musl")))'.dependencies]
2022-02-10 20:00:38 +09:00
mimalloc = { version = "0.1" }
[build-dependencies]
2022-02-10 20:00:38 +09:00
napi-build = { path = "../crates/build" }