11[package ]
2- name = " microfetch"
2+ name = " microfetch"
33version = " 0.4.9"
44edition = " 2024"
55
@@ -12,28 +12,52 @@ name = "microfetch"
1212path = " src/main.rs"
1313
1414[dependencies ]
15- nix = { version = " 0.30.1" , default-features = false , features = [" fs" , " hostname" , " feature" ] }
1615libc = " 0.2.175"
16+ nix = { default-features = false , features = [ " fs" , " hostname" , " feature" ], version = " 0.30.1" }
1717
1818[dev-dependencies ]
1919criterion = " 0.7"
2020
2121[[bench ]]
22- name = " benchmark"
2322harness = false
23+ name = " benchmark"
2424
2525[profile .dev ]
26- opt-level = 3
26+ opt-level = 1
2727
2828[profile .release ]
29- strip = true
30- opt-level = " s"
31- lto = true
3229codegen-units = 1
33- panic = " abort"
30+ lto = true
31+ opt-level = " s"
32+ panic = " abort"
33+ strip = true
3434
3535[profile .profiler ]
36- inherits = " release "
37- debug = true
36+ debug = true
37+ inherits = " release "
3838split-debuginfo = " unpacked"
39- strip = " none"
39+ strip = " none"
40+
41+ [lints .clippy ]
42+ complexity = { level = " warn" , priority = -1 }
43+ nursery = { level = " warn" , priority = -1 }
44+ pedantic = { level = " warn" , priority = -1 }
45+ perf = { level = " warn" , priority = -1 }
46+ style = { level = " warn" , priority = -1 }
47+
48+ # The lint groups above enable some less-than-desirable rules, we should manually
49+ # enable those to keep our sanity.
50+ absolute_paths = " allow"
51+ arbitrary_source_item_ordering = " allow"
52+ implicit_return = " allow"
53+ missing_docs_in_private_items = " allow"
54+ non_ascii_literal = " allow"
55+ pattern_type_mismatch = " allow"
56+ print_stdout = " allow"
57+ question_mark_used = " allow"
58+ similar_names = " allow"
59+ single_call_fn = " allow"
60+ std_instead_of_core = " allow"
61+ too_long_first_doc_paragraph = " allow"
62+ too_many_lines = " allow"
63+ unused_trait_names = " allow"
0 commit comments