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

27 lines
623 B
TOML
Raw Normal View History

2018-04-28 16:26:38 +08:00
[package]
authors = ["LongYinan <lynweklm@gmail.com>"]
2021-12-08 12:52:33 +08:00
edition = "2021"
name = "napi-compat-mode-examples"
2021-10-31 23:32:40 +08:00
publish = false
2020-10-11 21:36:14 +08:00
version = "0.1.0"
2018-04-28 16:26:38 +08:00
[lib]
2020-02-18 21:09:17 +08:00
crate-type = ["cdylib"]
2018-04-28 16:26:38 +08:00
2020-11-10 11:09:25 +08:00
[features]
2021-04-21 17:19:45 +08:00
latest = ["napi/napi8"]
2020-11-10 11:09:25 +08:00
napi3 = ["napi/napi3"]
2018-04-28 16:26:38 +08: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 00:07:27 +08:00
serde = "1"
serde_bytes = "0.11"
serde_derive = "1"
serde_json = "1"
2021-02-07 00:08:38 +08:00
tokio = {version = "1", features = ["default", "fs"]}
2020-02-18 21:09:17 +08:00
[build-dependencies]
napi-build = {path = "../../crates/build"}