diff --git a/Cargo.lock b/Cargo.lock index 30fce392..f5c438b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -970,6 +970,8 @@ dependencies = [ [[package]] name = "hardened_malloc-rs" version = "0.1.0+12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c6924b51567f632a42bd894f3c568d7141680751ea899da1a665cbc3568593e" [[package]] name = "hashbrown" diff --git a/Cargo.toml b/Cargo.toml index aded2b82..6073c05d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -309,8 +309,12 @@ hyperlocal = { git = "https://github.com/softprops/hyperlocal", rev = "2ee4d1496 ] } # unix socket support [target.'cfg(all(not(target_env = "msvc"), not(target_os = "macos"), target_os = "linux"))'.dependencies] -hardened_malloc-rs = { optional = true, features = ["static", "clang", "light"], path = "../hardened_malloc-rs", default-features = false } -#hardened_malloc-rs = { version = "0.1", optional = true, features = ["static", "clang", "light"], default-features = false } +hardened_malloc-rs = { version = "0.1", optional = true, features = [ + "static", + "clang", + "light", +], default-features = false } +#hardened_malloc-rs = { optional = true, features = ["static","clang","light"], path = "../hardened_malloc-rs", default-features = false } [features] @@ -322,6 +326,7 @@ default = [ "gzip_compression", "brotli_compression", "zstd_compression", + "hardened_malloc", ] backend_sqlite = ["sqlite"] backend_rocksdb = ["rocksdb"]