napi-rs/examples/napi-compat-mode/Cargo.toml
Tom Sherman 3418fd3e8f
feat(napi,sys): implement Symbol.for (#1721)
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-09-13 15:45:14 -07:00

31 lines
642 B
TOML

[package]
authors = ["LongYinan <lynweklm@gmail.com>"]
edition = "2021"
name = "napi-compat-mode-examples"
publish = false
version = "0.1.0"
[lib]
crate-type = ["cdylib"]
[features]
latest = ["napi/napi9"]
napi3 = ["napi/napi3"]
[dependencies]
futures = "0.3"
napi = { path = "../../crates/napi", features = [
"tokio_rt",
"serde-json",
"latin1",
"compat-mode",
] }
napi-derive = { path = "../../crates/macro", features = ["compat-mode"] }
serde = "1"
serde_bytes = "0.11"
serde_derive = "1"
serde_json = "1"
tokio = { version = "1", features = ["default", "fs"] }
[build-dependencies]
napi-build = { path = "../../crates/build" }