napi-rs/examples/napi/Cargo.toml
2022-01-23 23:04:31 +08:00

20 lines
531 B
TOML

[package]
authors = ["LongYinan <lynweklm@gmail.com>"]
edition = "2021"
name = "napi-examples"
publish = false
version = "0.1.0"
[lib]
crate-type = ["cdylib"]
[dependencies]
futures = "0.3"
napi = {path = "../../crates/napi", default-features = false, features = ["tokio_fs", "napi8", "tokio_rt", "serde-json", "async", "experimental", "latin1"]}
napi-derive = {path = "../../crates/macro", features = ["type-def"]}
serde = "1"
serde_derive = "1"
serde_json = "1"
[build-dependencies]
napi-build = {path = "../../crates/build"}