rs-diff/Cargo.toml

26 lines
555 B
TOML
Raw Normal View History

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