# 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 = "2024"
name = "bokeh-creator"
version = "0.1.10"
authors = ["Gilles Vink <gillesvink@noreply.codeberg.org>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Easy to use library to replicate real world lens kernels"
documentation = "https://docs.rs/bokeh-creator"
readme = "README.md"
keywords = [
    "bokeh",
    "camera",
    "photography",
    "lens",
    "convolution",
]
categories = [
    "algorithms",
    "multimedia",
    "graphics",
]
license = "EUPL-1.2"
repository = "https://codeberg.org/gillesvink/bokeh-creator"

[features]
compile-protobuf-src = ["dep:protobuf-src"]
default = [
    "image",
    "noise",
]
image = [
    "dep:image",
    "std",
    "dep:image-ndarray",
]
libm = ["glam/libm"]
noise = [
    "dep:libnoise",
    "std",
]
serde = ["dep:serde"]
std = [
    "ndarray/std",
    "glam/default",
]

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

[dependencies.glam]
version = "0.30"
default-features = false

[dependencies.image]
version = "0.25"
optional = true
default-features = false

[dependencies.image-ndarray]
version = "0.1.5"
features = ["image"]
optional = true

[dependencies.libnoise]
version = "1.1"
optional = true
default-features = false

[dependencies.ndarray]
version = "0.16"
default-features = false

[dependencies.num-traits]
version = "0.2"
default-features = false

[dependencies.prost]
version = "0.14"

[dependencies.prost-types]
version = "0.14"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dev-dependencies.assert_approx_eq]
version = ">= 1.1.0, < 1.2"

[dev-dependencies.image]
version = ">=0.25.0, < 0.26"

[dev-dependencies.image-compare]
version = ">=0.4.1, < 0.5"

[dev-dependencies.image-ndarray]
version = "0.1.2"

[dev-dependencies.rstest]
version = ">=0.25.0, < 0.26"

[build-dependencies.prost-build]
version = "0.14.1"

[build-dependencies.protobuf-src]
version = "2.1.1"
optional = true
