-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
38 lines (33 loc) · 864 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "nodejs-sys"
version = "0.15.0"
authors = ["Elmar Athmer <[email protected]>"]
edition = "2018"
build = "build.rs"
categories = ["external-ffi-bindings"]
keywords = ["ffi", "node", "nodejs", "napi", "n-api"]
repository = "https://github.com/elmarx/nodejs-sys"
license = "MIT"
description = "Native bindings to the nodejs' n-api"
include = [
"node/src/node_api.h",
"node/src/js_native_api.h",
"node/src/js_native_api_types.h",
"node/src/node_api_types.h",
"**/*.rs",
"Cargo.toml",
]
readme = "README.md"
[dependencies]
[build-dependencies]
bindgen = "0.66.1"
[features]
# no features by default
default = []
# enable the experimental API https://nodejs.org/dist/latest-v14.x/docs/api/n-api.html#n_api_usage
experimental = []
# select API version of supported versions
napi_v5 = []
napi_v6 = []
napi_v7 = []
napi_v8 = []