-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
107 lines (96 loc) · 2.43 KB
/
Cargo.toml
File metadata and controls
107 lines (96 loc) · 2.43 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[package]
name = "greedytile"
version = "0.1.9"
edition = "2024"
rust-version = "1.88"
authors = ["David Gathercole"]
description = "Random greedy pixel pattern generation algorithm"
homepage = "https://github.com/GeEom/greedytile"
repository = "https://github.com/GeEom/greedytile"
documentation = "https://docs.rs/greedytile"
license = "MIT"
readme = "README.md"
keywords = ["tiles", "pattern", "generation"]
categories = ["algorithms", "graphics"]
[package.metadata.docs.rs]
all-features = true
[dependencies]
bitvec = "1.0"
clap = { version = "4.5", features = ["derive"] }
image = { version = "0.25", features = ["gif"] }
indicatif = "0.18"
ndarray = "0.16"
num-traits = "0.2"
rand = "0.9"
[dev-dependencies]
criterion = { version = "0.6", features = ["html_reports"] }
tempfile = "3.10"
[[bench]]
name = "full_generation"
harness = false
[[bench]]
name = "selection"
harness = false
[profile.release]
opt-level = 3
lto = "fat"
debug = true
[profile.bench]
opt-level = 3
lto = "fat"
debug = false
[lints.rust]
future_incompatible = "deny"
nonstandard_style = "deny"
rust_2018_idioms = "deny"
missing_docs = "deny"
unsafe_code = "deny"
unused = "deny"
[lints.clippy]
# Lint groups
correctness = { level = "deny", priority = -1 }
suspicious = { level = "deny", priority = -1 }
complexity = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
nursery = { level = "deny", priority = -1 }
cargo = { level = "deny", priority = -1 }
style = { level = "deny", priority = -1 }
perf = { level = "deny", priority = -1 }
# Deny
used_underscore_binding = "deny"
if_then_some_else_none = "deny"
missing_const_for_fn = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
indexing_slicing = "deny"
result_large_err = "deny"
shadow_unrelated = "deny"
wildcard_imports = "deny"
map_err_ignore = "deny"
enum_glob_use = "deny"
infinite_loop = "deny"
unimplemented = "deny"
print_stderr = "deny"
print_stdout = "deny"
expect_used = "deny"
unwrap_used = "deny"
empty_loop = "deny"
mem_forget = "deny"
dbg_macro = "deny"
panic = "deny"
todo = "deny"
exit = "deny"
# Allow
cast_possible_truncation = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
many_single_char_names = "allow"
cast_precision_loss = "allow"
needless_range_loop = "allow"
cast_possible_wrap = "allow"
too_many_arguments = "allow"
must_use_candidate = "allow"
type_complexity = "allow"
cast_sign_loss = "allow"
too_many_lines = "allow"
cast_lossless = "allow"