|
|
@ -13,7 +13,11 @@ codegen-units = 1
|
|
|
|
panic = "unwind"
|
|
|
|
panic = "unwind"
|
|
|
|
|
|
|
|
|
|
|
|
[features]
|
|
|
|
[features]
|
|
|
|
default = ["splash", "inspect", "defer-drop"]
|
|
|
|
default = ["splash", "inspect", "defer-drop", "jemalloc"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Use jemalloc as global allocator instead of system allocator.
|
|
|
|
|
|
|
|
# May potentially cause some speedups and better memory profile on large runs.
|
|
|
|
|
|
|
|
jemalloc = ["jemallocator"]
|
|
|
|
|
|
|
|
|
|
|
|
# Use `fallocate()` and memory mapping to save output data instead of normal `write()` syscalls
|
|
|
|
# Use `fallocate()` and memory mapping to save output data instead of normal `write()` syscalls
|
|
|
|
prealloc = ["inspect", "libc", "memmap"]
|
|
|
|
prealloc = ["inspect", "libc", "memmap"]
|
|
|
@ -31,6 +35,7 @@ splash = []
|
|
|
|
async-compression = {version = "0.3", features=["tokio-02", "bzip2"], optional=true}
|
|
|
|
async-compression = {version = "0.3", features=["tokio-02", "bzip2"], optional=true}
|
|
|
|
color-eyre = {version = "0.5.10", default-features=false}
|
|
|
|
color-eyre = {version = "0.5.10", default-features=false}
|
|
|
|
futures = "0.3.12"
|
|
|
|
futures = "0.3.12"
|
|
|
|
|
|
|
|
jemallocator = {version = "0.3.2", optional = true}
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
libc = {version = "0.2.86", optional = true}
|
|
|
|
libc = {version = "0.2.86", optional = true}
|
|
|
|
memmap = {version = "0.7.0", optional = true}
|
|
|
|
memmap = {version = "0.7.0", optional = true}
|
|
|
|