-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
59 lines (50 loc) · 1.28 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[package]
name = "adventofcode"
version = "0.1.0"
edition = "2024"
[dependencies]
aocf = { git = "https://github.com/zr40/aocf", branch = "cache" }
itertools = "0.13.0"
json = "0.12.4"
md-5 = "0.10.6"
num-integer = "0.1.45"
rayon = "1.8.0"
rational = "1.5.0"
regex = "1.11.1"
[profile.release]
lto = true
codegen-units = 1
strip = true
panic = "abort"
[lints.rust]
future_incompatible = { level = "warn", priority = -1 }
rust_2018_idioms = { level = "warn", priority = -1 }
unsafe_code = "deny"
deprecated_in_future = "warn"
noop_method_call = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unused_crate_dependencies = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
match_same_arms = "allow"
match_on_vec_items = "allow"
needless_pass_by_value = "allow"
struct_field_names = "allow"
unreadable_literal = "allow"
# restrictions group
self_named_module_files = "deny"
get_unwrap = "warn"
if_then_some_else_none = "warn"
redundant_type_annotations = "warn"
str_to_string = "warn"
string_to_string = "warn"