| Crates.io | fits-io |
| lib.rs | fits-io |
| version | 0.1.3 |
| created_at | 2026-01-12 11:05:10.888167+00 |
| updated_at | 2026-01-18 14:59:57.274114+00 |
| description | A pure-Rust FITS file handling library inspired by CFITSIO, focused on safety, clarity, and performance. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 2037490 |
| size | 236,853 |
A safe, ergonomic, and pure-Rust library for reading and writing FITS (Flexible Image Transport System) files, inspired by CFITSIO.
This crate supports no_std environments, optional async I/O with Tokio, and structured access to FITS headers, images, and tables — without any C dependencies.
Designed for astronomy, astrophotography, embedded systems, and scientific pipelines where portability and safety matter.
Add the crate to your Cargo.toml:
[dependencies]
fits-io = "0.1"
no_std mode
[dependencies]
fits-io = { version = "0.1", default-features = false }
| Feature | Status |
|---|---|
| Primary HDU | ✅ |
| Image HDU | ✅ |
| Binary Tables | ✅ |
| ASCII Tables | ✅ |
| Header read/write | ✅ |
| Compression | ✅ |
| Streaming I/O | 🚧 |
| WCS helpers | 🚧 |
Licensed under either of:
at your option.
Issues, discussions, and pull requests are welcome. Please open an issue for large changes or new features.
Inspired by CFITSIO and the FITS standard maintained by NASA/HEASARC.