mirror of
https://github.com/NotAShelf/microfetch.git
synced 2024-12-28 04:42:22 +00:00
NotAShelf
065216af7c
Microfetch will now respect the NO_COLOR environment variable if it has been passed to the program. The performance overhead of this operation is almost none. In addition, the main function has been updated to lock stdout.
41 lines
636 B
TOML
41 lines
636 B
TOML
[package]
|
|
name = "microfetch"
|
|
version = "0.4.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "microfetch_lib"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "microfetch"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
nix = { version = "0.29", features = ["fs", "hostname", "feature"] }
|
|
color-eyre = { version = "0.6", default-features = false }
|
|
lazy_static = "1.5.0"
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.5"
|
|
|
|
[[bench]]
|
|
name = "benchmark"
|
|
harness = false
|
|
|
|
[profile.dev]
|
|
opt-level = 3
|
|
|
|
[profile.release]
|
|
strip = true
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
|
|
[profile.profiler]
|
|
inherits = "release"
|
|
debug = true
|
|
split-debuginfo = "unpacked"
|
|
strip = "none"
|