rs-diff/Cargo.toml

25 lines
554 B
TOML
Raw Normal View History

2020-08-14 08:11:58 +00:00
[package]
name = "napi-package-template"
version = "0.1.0"
authors = ["LongYinan <lynweklm@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
[dependencies]
napi = { version = "0.4" }
napi-derive = { version = "0.4" }
[target.'cfg(all(unix, not(target_env = "musl")))'.dependencies]
jemallocator = { version = "0.3", features = ["disable_initial_exec_tls"] }
[build-dependencies]
napi-build = "0.2"
[profile.release]
opt-level = 3
lto = true