[package]
name = "fitskit"
version = "0.2.0"
edition = "2021"
description = "Pure Rust FITS v4.0 reader/writer with tile-compression read and write"
license = "MIT"
repository = "https://github.com/ssmichael1/fitskit"
documentation = "https://docs.rs/fitskit"
readme = "README.md"
keywords = ["fits", "astronomy", "fits-file", "compression", "image"]
categories = ["science", "encoding", "parser-implementations"]
authors = ["Steven Michael <ssmichael@gmail.com>"]
exclude = ["CLAUDE.md", "COMPRESSION_PLAN.md", "scripts/", ".github/"]

[dependencies.image]
version = "0.25"
optional = true
# Only the in-memory DynamicImage/ImageBuffer types are used (no file codecs),
# so disable default format features — this drops the AVIF chain (rav1e, core2).
default-features = false

[dependencies.miniz_oxide]
version = "0.8"
optional = true

[dependencies.mapproj]
version = "0.4"
optional = true

[features]
image = ["dep:image"]
gzip = ["dep:miniz_oxide"]
wcs = ["dep:mapproj"]

[profile.test]
opt-level = 3

[package.metadata.docs.rs]
all-features = true
