rs-diff/Cargo.toml
2020-09-11 12:11:54 +08:00

26 lines
555 B
TOML

[package]
name = "node-rs-diff"
version = "0.1.0"
authors = ["Jay <jay@trj.tw>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
[dependencies]
diff = "0.1.12"
napi = { version = "0.5.1" }
napi-derive = { version = "0.5.1" }
[target.'cfg(all(unix, not(target_env = "musl")))'.dependencies]
jemallocator = { version = "0.3.2", features = ["disable_initial_exec_tls"] }
[build-dependencies]
napi-build = "0.2.1"
[profile.release]
opt-level = 3
lto = true