rs-diff/Cargo.toml
2020-08-25 11:10:05 +08:00

26 lines
547 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.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