@@ -21,12 +21,12 @@ include = [
2121" Cargo.toml" ,
2222" LICENSE*" ,
2323" README.md" ,
24- " benches/**/*" ,
2524" examples/**/*"
2625]
2726
2827[workspace .lints .rust ]
2928rust_2018_idioms = {level =" warn" ,priority =-1 }
29+ unnameable_types =" allow"
3030unreachable_pub =" warn"
3131unsafe_op_in_unsafe_fn =" warn"
3232unused_lifetimes =" warn"
@@ -69,7 +69,7 @@ lossy_float_literal = "warn"
6969macro_use_imports =" warn"
7070mem_forget =" warn"
7171mutex_integer =" warn"
72- needless_continue =" warn "
72+ needless_continue =" allow "
7373needless_for_each =" warn"
7474negative_feature_names =" warn"
7575path_buf_push_overwrite =" warn"
@@ -78,6 +78,7 @@ rc_mutex = "warn"
7878redundant_feature_names =" warn"
7979ref_option_ref =" warn"
8080rest_pat_in_fully_bound_structs =" warn"
81+ result_large_err =" allow"
8182same_functions_in_if_condition =" warn"
8283self_named_module_files =" warn"
8384semicolon_if_nothing_returned =" warn"
@@ -97,6 +98,15 @@ multiple_bound_locations = "allow"
9798assigning_clones =" allow"
9899blocks_in_conditions =" allow"
99100
101+ [profile .dev ]
102+ panic =" abort"
103+
104+ [profile .release ]
105+ panic =" abort"
106+ codegen-units =1
107+ lto =true
108+ # debug = "line-tables-only" # requires Cargo 1.71
109+
100110[package ]
101111name =" clap"
102112version =" 4.5.39"