napi-rs/examples/napi-compat-mode/Cargo.toml

27 lines
623 B
TOML
Raw Normal View History

2018-04-28 17:26:38 +09:00
[package]
authors = ["LongYinan <lynweklm@gmail.com>"]
2021-12-08 13:52:33 +09:00
edition = "2021"
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]
2021-04-21 18:19:45 +09:00
latest = ["napi/napi8"]
2020-11-10 12:09:25 +09:00
napi3 = ["napi/napi3"]
2018-04-28 17:26:38 +09:00
[dependencies]
futures = "0.3"
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"
2021-02-07 01:08:38 +09:00
tokio = {version = "1", features = ["default", "fs"]}
2020-02-18 22:09:17 +09:00
[build-dependencies]
napi-build = {path = "../../crates/build"}