[[bench]]
harness = false
name = "benchmark"
path = "benches/benchmark.rs"
[[bin]]
name = "microfetch"
path = "src/main.rs"
[dependencies.hotpath]
optional = true
version = "0.9.2"
[dependencies.libc]
version = "0.2.179"
[dev-dependencies.criterion]
version = "0.8.1"
[features]
hotpath = ["dep:hotpath", "hotpath/hotpath"]
hotpath-alloc = ["hotpath/hotpath-alloc"]
hotpath-off = ["hotpath/hotpath-off"]
[lib]
name = "microfetch_lib"
path = "src/lib.rs"
[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
implicit_return = "allow"
missing_docs_in_private_items = "allow"
non_ascii_literal = "allow"
pattern_type_mismatch = "allow"
print_stdout = "allow"
question_mark_used = "allow"
similar_names = "allow"
single_call_fn = "allow"
std_instead_of_core = "allow"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
unused_trait_names = "allow"
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[package]
authors = ["NotAShelf <raf@notashelf.dev>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Microscopic fetch tool in Rust, for NixOS systems, with special emphasis on speed"
edition = "2024"
license = "GPL-3.0"
name = "microfetch"
readme = "docs/README.md"
repository = "https://github.com/notashelf/microfetch"
rust-version = "1.90"
version = "0.4.13"
[profile.dev]
opt-level = 1
[profile.profiler]
debug = 2
inherits = "release"
split-debuginfo = "unpacked"
strip = "none"
[profile.release]
codegen-units = 1
lto = true
opt-level = "s"
panic = "abort"
strip = true