[[bench]]
harness = false
name = "full_generation"
path = "benches/full_generation.rs"
[[bench]]
harness = false
name = "selection"
path = "benches/selection.rs"
[[bin]]
name = "greedytile"
path = "src/main.rs"
[dependencies.bitvec]
version = "1.0"
[dependencies.clap]
features = ["derive"]
version = "4.5"
[dependencies.image]
features = ["gif"]
version = "0.25"
[dependencies.indicatif]
version = "0.18"
[dependencies.ndarray]
version = "0.16"
[dependencies.num-traits]
version = "0.2"
[dependencies.rand]
version = "0.9"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.6"
[dev-dependencies.tempfile]
version = "3.10"
[lib]
name = "greedytile"
path = "src/lib.rs"
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "deny"
empty_loop = "deny"
enum_glob_use = "deny"
exit = "deny"
expect_used = "deny"
if_then_some_else_none = "deny"
indexing_slicing = "deny"
infinite_loop = "deny"
many_single_char_names = "allow"
map_err_ignore = "deny"
mem_forget = "deny"
missing_const_for_fn = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_range_loop = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
result_large_err = "deny"
shadow_unrelated = "deny"
todo = "deny"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"
unimplemented = "deny"
unwrap_used = "deny"
used_underscore_binding = "deny"
wildcard_imports = "deny"
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.complexity]
level = "deny"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
future_incompatible = "deny"
missing_docs = "deny"
nonstandard_style = "deny"
rust_2018_idioms = "deny"
unsafe_code = "deny"
unused = "deny"
[package]
authors = ["David Gathercole"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "graphics"]
description = "Random greedy pixel pattern generation algorithm"
documentation = "https://docs.rs/greedytile"
edition = "2024"
homepage = "https://github.com/GeEom/greedytile"
keywords = ["tiles", "pattern", "generation"]
license = "MIT"
name = "greedytile"
readme = "README.md"
repository = "https://github.com/GeEom/greedytile"
rust-version = "1.88"
version = "0.1.9"
[package.metadata.docs.rs]
all-features = true
[profile.bench]
debug = 0
lto = "fat"
opt-level = 3
[profile.release]
debug = 2
lto = "fat"
opt-level = 3
[[test]]
name = "algorithm"
path = "tests/algorithm.rs"
[[test]]
name = "main"
path = "tests/main.rs"