2018-04-28 17:26:38 +09:00
|
|
|
[package]
|
2018-06-26 17:31:42 +09:00
|
|
|
authors = ["LongYinan <lynweklm@gmail.com>"]
|
2020-02-18 22:09:17 +09:00
|
|
|
edition = "2018"
|
2020-10-11 22:36:14 +09:00
|
|
|
name = "napi-test-module"
|
|
|
|
version = "0.1.0"
|
2018-04-28 17:26:38 +09:00
|
|
|
|
|
|
|
[lib]
|
2020-02-18 22:09:17 +09:00
|
|
|
crate-type = ["cdylib"]
|
2018-04-28 17:26:38 +09:00
|
|
|
|
2020-11-10 12:09:25 +09:00
|
|
|
[features]
|
|
|
|
latest = ["napi/napi7"]
|
|
|
|
napi3 = ["napi/napi3"]
|
|
|
|
|
2018-04-28 17:26:38 +09:00
|
|
|
[dependencies]
|
2020-07-03 01:31:50 +09:00
|
|
|
futures = "0.3"
|
2020-11-10 12:09:25 +09:00
|
|
|
napi = {path = "../napi", features = ["tokio_rt", "serde-json", "latin1"]}
|
2020-10-11 22:36:14 +09:00
|
|
|
napi-derive = {path = "../napi-derive"}
|
2020-08-26 01:07:27 +09:00
|
|
|
serde = "1"
|
|
|
|
serde_bytes = "0.11"
|
|
|
|
serde_derive = "1"
|
|
|
|
serde_json = "1"
|
2020-12-24 14:55:21 +09:00
|
|
|
tokio = {version = "1.0", features = ["default", "fs"]}
|
2020-02-18 22:09:17 +09:00
|
|
|
|
|
|
|
[build-dependencies]
|
2020-10-11 22:36:14 +09:00
|
|
|
napi-build = {path = "../build"}
|
2020-11-25 18:42:14 +09:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|