-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
25 lines (19 loc) · 653 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
[package]
authors = ["Ahungrynoob <dxd_sjtu@outlook.com>"]
edition = "2018"
name = "napi-jsonschema"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
[dependencies]
jsonschema = { version = "0.16.0", default-features = false, features = [ "draft201909" ] }
napi = {version = "2", features = ["serde-json", "napi5"] }
napi-derive = "2"
serde_json = "1"
[target.'cfg(all(any(windows, unix), target_arch = "x86_64", not(target_env = "musl")))'.dependencies]
mimalloc = {version = "0.1"}
[build-dependencies]
napi-build = "2"
[profile.release]
lto = true