napi-rs/napi/Cargo.toml

32 lines
830 B
TOML
Raw Normal View History

2020-02-18 22:09:17 +09:00
[package]
name = "napi-rs"
2020-05-02 00:53:32 +09:00
version = "0.2.3"
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-02-18 22:09:17 +09:00
[dependencies]
futures = { version = "0.3", features = ["default", "thread-pool"] }
2020-04-03 01:09:44 +09:00
serde = { version = "1", optional = true }
serde_json = { version = "1", optional = true }
[features]
serde-json = ["serde", "serde_json"]
2020-04-03 01:09:44 +09:00
default = ["serde-json"]
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-03-16 15:26:30 +09:00
bindgen = "0.53"
2020-02-18 22:09:17 +09:00
cc = "1.0"
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"
semver = "0.9"