1a3621b727
1. inline everything 2. change `check_status` and `type_of` to macro 3. provide #[module_exports] macro 4. remove debug and repr[transparent] for ffi struct
28 lines
563 B
TOML
28 lines
563 B
TOML
[package]
|
|
authors = ["LongYinan <lynweklm@gmail.com>"]
|
|
edition = "2018"
|
|
name = "napi-test-module"
|
|
version = "0.1.0"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[features]
|
|
latest = ["napi/napi7"]
|
|
napi3 = ["napi/napi3"]
|
|
|
|
[dependencies]
|
|
futures = "0.3"
|
|
napi = {path = "../napi", features = ["tokio_rt", "serde-json", "latin1"]}
|
|
napi-derive = {path = "../napi-derive"}
|
|
serde = "1"
|
|
serde_bytes = "0.11"
|
|
serde_derive = "1"
|
|
serde_json = "1"
|
|
tokio = {version = "0.3", features = ["default", "fs"]}
|
|
|
|
[build-dependencies]
|
|
napi-build = {path = "../build"}
|
|
|
|
[profile.release]
|
|
lto = true
|