opendefocus-kernel 0.1.10

OpenDefocus convolution kernel
Documentation
# 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 = "opendefocus-kernel"
version = "0.1.10"
authors = ["Gilles Vink <gillesvink@noreply.codeberg.org>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenDefocus convolution kernel"
homepage = "https://opendefocus.codeberg.page"
documentation = "https://docs.rs/opendefocus/"
readme = "README.md"
keywords = [
    "defocus",
    "convolution",
    "image-processing",
]
categories = [
    "multimedia",
    "graphics",
]
license = "EUPL-1.2"
repository = "https://codeberg.org/gillesvink/opendefocus"
resolver = "2"

[features]
default = ["std"]
libm = [
    "glam/libm",
    "opendefocus-shared/libm",
    "opendefocus-datastructure/libm",
]
rayon-test = []
spirv = ["dep:spirv-std"]
std = [
    "glam/default",
    "opendefocus-shared/std",
    "opendefocus-datastructure/std",
]

[lib]
name = "opendefocus_kernel"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.bitflags]
version = "2.10.0"

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

[dependencies.opendefocus-shared]
version = "=0.1.10"
default-features = false

[dependencies.spirv-std]
version = "=0.9.0"
optional = true

[dev-dependencies.opendefocus-datastructure]
version = "=0.1.10"

[dev-dependencies.rayon]
version = "1.11.0"

[dev-dependencies.rstest]
version = "0.26"

[target.'cfg(not(any(target_arch = "spirv")))'.dependencies.image]
version = "0.25"
default-features = false

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ['cfg(target_arch, values("spirv"))']

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 1