refactor: jemallocator for musl only
Diff
Cargo.toml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
@@ -21,7 +21,6 @@ edition = "2018"
include = ["src/**/*", "Cargo.toml", "Cargo.lock"]
[dependencies]
jemallocator = "0.3.2"
iron = "0.6"
log = "0.4"
chrono = "0.4"
@@ -34,6 +33,9 @@ nix = "0.14"
signal = "0.7"
iron-cors = "0.8"
[target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.jemallocator]
version = "0.3"
[dev-dependencies]
openssl = { version = "0.10", features = ["vendored"] }
hyper = "0.10"