You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.2 KiB
43 lines
1.2 KiB
[package]
|
|
name = "dirstat"
|
|
version = "0.1.0"
|
|
authors = ["Avril <flanchan@cumallover.me>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "fat"
|
|
codegen-units = 1
|
|
panic = "unwind"
|
|
|
|
[features]
|
|
default = ["splash", "inspect", "defer-drop"]
|
|
|
|
# Use `fallocate()` and memory mapping to save output data instead of normal `write()` syscalls
|
|
prealloc = ["inspect", "libc", "memmap"]
|
|
|
|
# Allow saving and loading of gathered data for later inspection
|
|
inspect = ["serde", "serde_cbor", "async-compression"]
|
|
|
|
# Enable dropping of certain large objects on background threads.
|
|
defer-drop = []
|
|
|
|
# Show splash screen
|
|
splash = []
|
|
|
|
[dependencies]
|
|
async-compression = {version = "0.3", features=["tokio-02", "bzip2"], optional=true}
|
|
color-eyre = {version = "0.5.10", default-features=false}
|
|
futures = "0.3.12"
|
|
lazy_static = "1.4.0"
|
|
libc = {version = "0.2.86", optional = true}
|
|
memmap = {version = "0.7.0", optional = true}
|
|
num_cpus = "1.13.0"
|
|
once_cell = "1.5.2"
|
|
pin-project = "1.0.5"
|
|
serde = {version = "1.0.123", features=["derive"], optional=true}
|
|
serde_cbor = {version = "0.11.1", optional=true}
|
|
tokio = {version = "0.2", features=["full"]}
|