fitscube-rs 1.2.2

Combine single-frequency/single-time FITS images into a FITS cube (Rust port of fitscube)
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 = "fitscube-rs"
version = "1.2.2"
authors = ["Alec Thomson"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Combine single-frequency/single-time FITS images into a FITS cube (Rust port of fitscube)"
documentation = "https://docs.rs/fitscube-rs"
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/AlecThomson/fitscube-rs"

[package.metadata.docs.rs]
no-default-features = true
features = []

[features]
abi3 = [
    "python",
    "pyo3/abi3-py310",
]
default = ["fitsio-src"]
fitsio-src = [
    "fitsio/fitsio-src",
    "atfits-rs/fitsio-src",
]
python = [
    "dep:pyo3",
    "dep:numpy",
]
stubgen = [
    "python",
    "dep:pyo3-stub-gen",
]

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

[[bin]]
name = "fitscubers"
path = "src/main.rs"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.atfits-rs]
version = "=1.0.3"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.fitsio]
version = "0.21"

[dependencies.hifitime]
version = "4"

[dependencies.indicatif]
version = "0.17"
features = ["rayon"]

[dependencies.ndarray]
version = "0.16"

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

[dependencies.numpy]
version = "0.26"
optional = true

[dependencies.pyo3]
version = "0.26"
features = ["extension-module"]
optional = true

[dependencies.pyo3-stub-gen]
version = "0.22.3"
optional = true

[dependencies.rayon]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.tempfile]
version = "3"