refimage 1.0.0-pre6

Imaging library. Provides image storage using CoW-like structures to avoid re-allocation in image-aquisition scenarios. Supports rich metadata and serdes.
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 = "refimage"
version = "1.0.0-pre6"
authors = ["Sunip K. Mukherjee <sunipkmukherjee@gmail.com>"]
build = false
include = [
    "/LICENSE-APACHE",
    "/LICENSE-MIT",
    "/README.MD",
    "/CHANGELOG.MD",
    "/src/",
    "/examples/",
    "/benches/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Imaging library. Provides image storage using CoW-like structures to avoid re-allocation in image-aquisition scenarios. Supports rich metadata and serdes."
homepage = "https://github.com/sunipkm/refimage"
documentation = "https://docs.rs/refimage"
readme = "README.MD"
categories = [
    "multimedia::images",
    "multimedia::encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sunipkm/refimage"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = [
    "rayon",
    "grow",
]
full = [
    "default",
    "image",
    "grow",
]
grow = []
image = ["dep:image"]
rayon = ["dep:rayon"]

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

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

[[example]]
name = "resize_filters"
path = "examples/resize_filters.rs"
required-features = ["image"]

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

[[example]]
name = "test_flow"
path = "examples/test_flow.rs"
required-features = ["image"]

[[bench]]
name = "cast_u8"
path = "benches/cast_u8.rs"

[[bench]]
name = "luma_par"
path = "benches/luma_par.rs"

[dependencies.bytemuck]
version = "1.23"

[dependencies.chrono]
version = "0.4.31"
features = [
    "alloc",
    "serde",
]
default-features = false

[dependencies.crc32fast]
version = "1.5"

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

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.miniz_oxide]
version = "0.8"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.paste]
version = "1.0"

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

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

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.bincode]
version = "1.3"

[dev-dependencies.image]
version = "0.25"
features = ["png"]
default-features = false

[dev-dependencies.serde-generate]
version = "0.34"

[dev-dependencies.serde-reflection]
version = "0.6"

[dev-dependencies.serde_json]
version = "1.0"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.chrono]
version = "0.4.31"
features = ["clock"]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.fitsio]
version = "0.21"

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

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.rand]
version = "0.10"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"