# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "aprender-image"
version = "0.40.0"
authors = ["Trueno Engineering"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GPU image processing primitives — convolution, Gaussian blur, Sobel, Canny edge detection"
readme = "README.md"
keywords = [
    "image",
    "convolution",
    "edge-detection",
    "gaussian",
    "sobel",
]
categories = [
    "science",
    "algorithms",
    "multimedia::images",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/paiml/trueno"

[lib]
name = "trueno_image"
path = "src/lib.rs"

[[example]]
name = "image_demo"
path = "examples/image_demo.rs"

[[bench]]
name = "image_bench"
path = "benches/image_bench.rs"
harness = false

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.7"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1"

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
expect_used = "warn"
many_single_char_names = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_range_loop = "allow"
panic = "warn"
return_self_not_must_use = "allow"
similar_names = "allow"
uninlined_format_args = "allow"
unreachable = "warn"
unreadable_literal = "allow"
unwrap_used = "warn"
wildcard_imports = "allow"

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
rust_2018_idioms = "warn"
unsafe_op_in_unsafe_fn = "warn"
