rs-diff/Cargo.toml
2020-09-14 16:01:08 +08:00

27 lines
565 B
TOML

[package]
name = "rsdiff"
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]
name = "rsdiff"
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