2020-02-18 22:09:17 +09:00
|
|
|
[package]
|
2020-07-15 01:43:20 +09:00
|
|
|
name = "napi"
|
2020-08-10 15:16:17 +09:00
|
|
|
version = "0.4.7"
|
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"]
|
2020-05-06 00:13:23 +09:00
|
|
|
edition = "2018"
|
2020-02-18 22:09:17 +09:00
|
|
|
|
2020-07-03 01:31:50 +09:00
|
|
|
[features]
|
|
|
|
libuv = ["futures"]
|
2020-07-08 01:59:09 +09:00
|
|
|
tokio_rt = ["futures", "tokio", "once_cell"]
|
|
|
|
|
2020-07-15 01:43:20 +09:00
|
|
|
[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-07-03 01:31:50 +09:00
|
|
|
|
|
|
|
|
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" }
|