napi-rs/examples/napi/Cargo.toml

35 lines
675 B
TOML
Raw Normal View History

[package]
authors = ["LongYinan <lynweklm@gmail.com>"]
2021-12-08 13:52:33 +09:00
edition = "2021"
name = "napi-examples"
2021-11-01 00:32:40 +09:00
publish = false
version = "0.1.0"
[lib]
crate-type = ["cdylib"]
[dependencies]
chrono = "0.4"
2021-11-01 00:32:40 +09:00
futures = "0.3"
napi = { path = "../../crates/napi", default-features = false, features = [
2022-02-10 20:00:38 +09:00
"tokio_fs",
"napi8",
"tokio_rt",
"serde-json",
"async",
"experimental",
"latin1",
"chrono_date",
] }
napi-derive = { path = "../../crates/macro", features = ["type-def"] }
2021-09-24 18:01:54 +09:00
serde = "1"
serde_derive = "1"
serde_json = "1"
tokio = { version = "1.20.0", features = ["full"] }
[build-dependencies]
napi-build = { path = "../../crates/build" }
[dev-dependencies]
trybuild = "1.0"