2020-02-18 22:09:17 +09:00
|
|
|
[package]
|
|
|
|
name = "napi-rs"
|
2020-05-15 15:29:06 +09:00
|
|
|
version = "0.3.1"
|
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"
|
|
|
|
repository = "https://github.com/Brooooooklyn/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"]
|
|
|
|
|
|
|
|
[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
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
|
|
flate2 = "1.0"
|
|
|
|
reqwest = { version = "0.10", features = ["native-tls", "blocking"] }
|
|
|
|
tar = "0.4"
|
|
|
|
|
|
|
|
[build-dependencies]
|
2020-05-22 16:05:09 +09:00
|
|
|
bindgen = "0.54"
|
2020-02-18 22:09:17 +09:00
|
|
|
glob = "0.3"
|
2020-03-16 15:26:30 +09:00
|
|
|
napi-build = { version = "0.1", path = "../build" }
|
2020-02-18 22:09:17 +09:00
|
|
|
regex = "1.3"
|
2020-06-19 21:42:18 +09:00
|
|
|
semver = "0.10"
|