forked from neon-bindings/neon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
50 lines (42 loc) · 1.29 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "neon"
version = "0.3.3"
authors = ["Dave Herman <david.herman@gmail.com>"]
description = "A safe abstraction layer for Node.js."
readme = "README.md"
documentation = "https://api.neon-bindings.com/neon/index.html"
homepage = "https://www.neon-bindings.com"
repository = "https://github.com/neon-bindings/neon"
license = "MIT/Apache-2.0"
exclude = ["neon.jpg"]
build = "build.rs"
[build-dependencies]
neon-build = { version = "=0.3.3", path = "crates/neon-build" }
[dev-dependencies]
lazy_static = "1.4.0"
rustversion = "0.1.4"
semver = "0.9"
[dependencies]
cslice = "0.2"
semver = "0.9.0"
neon-runtime = { version = "=0.3.3", path = "crates/neon-runtime" }
[features]
default = ["legacy-runtime"]
# Enable the default panic hook. Useful for debugging neon itself.
default-panic-hook = []
# Feature flag to enable the legacy V8/NAN runtime. For now, this feature is
# enabled by default.
legacy-runtime = ["neon-runtime/neon-sys", "neon-build/neon-sys"]
# Feature flag to enable the experimental N-API runtime. For now, this feature
# is disabled by default.
napi-runtime = ["neon-runtime/nodejs-sys"]
[workspace]
members = [
"crates/neon-build",
"crates/neon-runtime",
"crates/neon-sys",
"test/static",
"test/electron/native",
"test/dynamic/native",
"test/napi/native"
]