2021-09-23 02:29:09 +09:00
|
|
|
[package]
|
|
|
|
authors = ["LongYinan <lynweklm@gmail.com>"]
|
2021-12-08 13:52:33 +09:00
|
|
|
edition = "2021"
|
2021-09-23 02:29:09 +09:00
|
|
|
name = "napi-examples"
|
2021-11-01 00:32:40 +09:00
|
|
|
publish = false
|
2021-09-23 02:29:09 +09:00
|
|
|
version = "0.1.0"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
|
|
|
[dependencies]
|
2022-02-10 04:50:46 +09:00
|
|
|
chrono = "0.4"
|
2021-11-01 00:32:40 +09:00
|
|
|
futures = "0.3"
|
2022-02-10 04:50:46 +09:00
|
|
|
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",
|
2022-02-11 15:21:07 +09:00
|
|
|
"chrono_date",
|
2022-02-10 04:50:46 +09:00
|
|
|
] }
|
|
|
|
napi-derive = { path = "../../crates/macro", features = ["type-def"] }
|
2021-09-24 18:01:54 +09:00
|
|
|
serde = "1"
|
|
|
|
serde_derive = "1"
|
|
|
|
serde_json = "1"
|
2021-09-23 02:29:09 +09:00
|
|
|
|
|
|
|
[build-dependencies]
|
2022-02-10 04:50:46 +09:00
|
|
|
napi-build = { path = "../../crates/build" }
|