napi-rs/bench/Cargo.toml

26 lines
550 B
TOML
Raw Normal View History

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