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

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

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

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

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

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

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

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

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

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

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

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

[profile.test]
opt-level = 3
