napi-rs/examples/napi/Cargo.toml
2021-10-27 14:42:57 +08:00

24 lines
No EOL
533 B
TOML

[package]
authors = ["LongYinan <lynweklm@gmail.com>"]
edition = "2018"
name = "napi-examples"
version = "0.1.0"
[lib]
crate-type = ["cdylib"]
[features]
latest = ["napi/napi8"]
napi3 = ["napi/napi3"]
[dependencies]
napi-derive = { path = "../../crates/macro", features = ["type-def"] }
napi = { path = "../../crates/napi", features = ["full"] }
serde = "1"
serde_derive = "1"
serde_json = "1"
tokio = {version = "1", features = ["default", "fs"]}
futures = "0.3"
[build-dependencies]
napi-build = { path = "../../crates/build" }