zenpnm 0.1.0

PNM/PAM/PFM image format decoder and encoder (P5, P6, P7, PFM) with optional basic BMP
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"
rust-version = "1.85"
name = "zenpnm"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PNM/PAM/PFM image format decoder and encoder (P5, P6, P7, PFM) with optional basic BMP"
documentation = "https://docs.rs/zenpnm"
readme = "README.md"
keywords = [
    "image",
    "pnm",
    "pam",
    "ppm",
    "pgm",
]
categories = ["multimedia::images"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/imazen/zenpnm"

[features]
all = [
    "basic-bmp",
    "rgb",
    "imgref",
]
basic-bmp = []
default = []
imgref = [
    "dep:imgref",
    "rgb",
]
rgb = ["dep:rgb"]
std = []

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

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

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

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

[dependencies.enough]
version = "0.3"

[dependencies.imgref]
version = "1.12"
optional = true
default-features = false

[dependencies.rgb]
version = "0.8"
features = ["as-bytes"]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0"
default-features = false

[dev-dependencies]