2018-04-28 17:26:38 +09:00
|
|
|
[package]
|
2018-06-26 17:31:42 +09:00
|
|
|
authors = ["LongYinan <lynweklm@gmail.com>"]
|
2021-12-08 13:52:33 +09:00
|
|
|
edition = "2021"
|
2021-09-23 02:29:09 +09:00
|
|
|
name = "napi-compat-mode-examples"
|
2021-11-01 00:32:40 +09:00
|
|
|
publish = false
|
2020-10-11 22:36:14 +09:00
|
|
|
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]
|
2023-09-14 07:45:14 +09:00
|
|
|
latest = ["napi/napi9"]
|
2020-11-10 12:09:25 +09:00
|
|
|
napi3 = ["napi/napi3"]
|
2024-03-27 15:35:16 +09:00
|
|
|
dyn-symbols = ["napi/dyn-symbols"]
|
2020-11-10 12:09:25 +09:00
|
|
|
|
2018-04-28 17:26:38 +09:00
|
|
|
[dependencies]
|
2020-07-03 01:31:50 +09:00
|
|
|
futures = "0.3"
|
2022-02-10 20:00:38 +09:00
|
|
|
napi = { path = "../../crates/napi", features = [
|
|
|
|
"tokio_rt",
|
|
|
|
"serde-json",
|
|
|
|
"latin1",
|
|
|
|
"compat-mode",
|
|
|
|
] }
|
|
|
|
napi-derive = { path = "../../crates/macro", features = ["compat-mode"] }
|
2020-08-26 01:07:27 +09:00
|
|
|
serde = "1"
|
|
|
|
serde_bytes = "0.11"
|
|
|
|
serde_derive = "1"
|
|
|
|
serde_json = "1"
|
2022-02-10 20:00:38 +09:00
|
|
|
tokio = { version = "1", features = ["default", "fs"] }
|
2020-02-18 22:09:17 +09:00
|
|
|
|
|
|
|
[build-dependencies]
|
2022-02-10 20:00:38 +09:00
|
|
|
napi-build = { path = "../../crates/build" }
|