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]
|
|
|
|
futures = "0.3"
|
2020-10-11 22:36:14 +09:00
|
|
|
napi = {path = "../napi", features = ["libuv", "tokio_rt", "serde-json", "latin1"]}
|
|
|
|
napi-derive = {path = "../napi-derive"}
|
2020-09-30 15:34:26 +09:00
|
|
|
serde = "1"
|
|
|
|
serde_bytes = "0.11"
|
|
|
|
serde_derive = "1"
|
|
|
|
serde_json = "1"
|
2020-10-11 22:36:14 +09:00
|
|
|
tokio = {version = "0.2", features = ["default", "fs"]}
|
2020-09-30 15:34:26 +09:00
|
|
|
|
|
|
|
[build-dependencies]
|
2020-10-11 22:36:14 +09:00
|
|
|
napi-build = {path = "../build"}
|
2020-09-30 15:34:26 +09:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|
2020-10-11 22:36:14 +09:00
|
|
|
opt-level = 3
|