2024-08-03 16:06:29 +00:00
|
|
|
[package]
|
|
|
|
name = "microfetch"
|
2024-08-17 18:14:09 +00:00
|
|
|
version = "0.4.0"
|
2024-08-03 16:06:29 +00:00
|
|
|
edition = "2021"
|
|
|
|
|
2024-08-15 17:43:39 +00:00
|
|
|
[lib]
|
|
|
|
name = "microfetch_lib"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "microfetch"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
2024-08-03 16:06:29 +00:00
|
|
|
[dependencies]
|
2024-08-05 08:08:25 +00:00
|
|
|
nix = { version = "0.29", features = ["fs", "hostname", "feature"] }
|
2024-08-03 17:00:58 +00:00
|
|
|
color-eyre = { version = "0.6", default-features = false }
|
|
|
|
|
2024-08-15 17:43:39 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
criterion = "0.5"
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "benchmark"
|
|
|
|
harness = false
|
|
|
|
|
2024-08-04 23:02:58 +00:00
|
|
|
[profile.dev]
|
|
|
|
opt-level = 3
|
|
|
|
|
2024-08-03 20:09:29 +00:00
|
|
|
[profile.release]
|
|
|
|
strip = true
|
|
|
|
opt-level = "z"
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
|
|
|
panic = "abort"
|
2024-08-04 23:02:58 +00:00
|
|
|
|
|
|
|
[profile.profiler]
|
|
|
|
inherits = "release"
|
|
|
|
debug = true
|
|
|
|
split-debuginfo = "unpacked"
|
|
|
|
strip = "none"
|