napi-rs/napi/Cargo.toml

38 lines
795 B
TOML
Raw Normal View History

2020-02-18 22:09:17 +09:00
[package]
name = "napi"
version = "0.4.9"
2020-02-18 22:09:17 +09:00
authors = ["Nathan Sobo <nathan@github.com>", "Yinan Long <lynweklm@gmail.com>"]
license = "MIT"
2020-03-16 15:26:30 +09:00
description = "N-API bindings"
readme = "README.md"
2020-07-15 02:23:23 +09:00
repository = "https://github.com/napi-rs/napi-rs"
2020-04-26 20:57:31 +09:00
keywords = ["NodeJS", "FFI", "NAPI", "n-api"]
edition = "2018"
2020-02-18 22:09:17 +09:00
[features]
libuv = ["futures"]
2020-07-08 01:59:09 +09:00
tokio_rt = ["futures", "tokio", "once_cell"]
[dependencies]
napi-sys = { version = "0.4", path = "../sys" }
2020-07-08 01:59:09 +09:00
[dependencies.futures]
version = "0.3"
optional = true
[dependencies.tokio]
version = "0.2"
features = ["rt-core", "rt-threaded", "sync"]
optional = true
[dependencies.once_cell]
version = "1.4"
optional = true
2020-02-18 22:09:17 +09:00
[build-dependencies]
2020-07-15 02:36:02 +09:00
napi-build = { version = "0.2", path = "../build" }
2020-08-15 19:31:52 +09:00
[package.metadata.docs.rs]
rustc-args = ["--cfg", "docsrs"]