# 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"
rust-version = "1.88"
name = "deconvolution"
version = "0.1.0"
build = false
exclude = [
    ".github/**/*",
    ".tmp/**/*",
    "context.md",
    "SAMPLE.md",
    "waterfall.png",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust image deconvolution and restoration library."
documentation = "https://docs.rs/deconvolution"
readme = "README.md"
keywords = [
    "image",
    "deconvolution",
    "deblurring",
    "restoration",
    "fft",
]
categories = [
    "algorithms",
    "computer-vision",
    "multimedia::images",
    "science",
]
license = "MIT"
repository = "https://github.com/pbkx/deconvolution"

[features]
default = ["rayon"]
rayon = [
    "dep:rayon",
    "ndarray/rayon",
    "image/rayon",
]

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

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

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

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

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

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

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

[[test]]
name = "api"
path = "tests/api.rs"

[[test]]
name = "blind"
path = "tests/blind.rs"

[[test]]
name = "iterative"
path = "tests/iterative.rs"

[[test]]
name = "nd"
path = "tests/nd.rs"

[[test]]
name = "preprocess"
path = "tests/preprocess.rs"

[[test]]
name = "psf_otf"
path = "tests/psf_otf.rs"

[[test]]
name = "regression"
path = "tests/regression.rs"

[[test]]
name = "spectral"
path = "tests/spectral.rs"

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

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

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

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

[dependencies.image]
version = "0.25.10"
features = [
    "png",
    "jpeg",
]
default-features = false

[dependencies.ndarray]
version = "0.17.2"

[dependencies.num-complex]
version = "0.4.6"

[dependencies.rand]
version = "0.10.0"

[dependencies.rand_distr]
version = "0.6.0"

[dependencies.rayon]
version = "1.11.0"
optional = true

[dependencies.rustfft]
version = "6.4.1"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.criterion]
version = "0.5.1"
