mwalib 2.0.2

A library to simplify reading Murchison Widefield Array (MWA) raw visibilities, voltages and metadata.
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 = "2021"
rust-version = "1.85.0"
name = "mwalib"
version = "2.0.2"
authors = [
    "Greg Sleap <greg.sleap@curtin.edu.au>",
    "Christopher H. Jordan <christopherjordan87@gmail.com>",
]
build = "build.rs"
exclude = [
    "test_files/*",
    "tools/*",
    ".github/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library to simplify reading Murchison Widefield Array (MWA) raw visibilities, voltages and metadata."
homepage = "https://github.com/MWATelescope/mwalib"
readme = "README.md"
keywords = [
    "radioastronomy",
    "mwa",
    "astronomy",
]
categories = [
    "science",
    "parsing",
]
license = "MPL-2.0"
repository = "https://github.com/MWATelescope/mwalib"
resolver = "2"

[features]
cfitsio-static = ["fitsio-sys/fitsio-src"]
examples = [
    "anyhow",
    "clap",
    "env_logger",
]
python = [
    "anyhow",
    "env_logger",
    "ndarray",
    "numpy",
    "pyo3",
]
python-stubgen = [
    "ndarray",
    "numpy",
    "pyo3",
    "pyo3-stub-gen",
    "pyo3-stub-gen-derive",
]

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

[[bin]]
name = "stub_gen"
path = "bin/stub_gen.rs"
doc = false
required-features = [
    "python",
    "python-stubgen",
]

[[example]]
name = "mwalib-data-dump"
path = "examples/mwalib-data-dump.rs"
required-features = ["examples"]

[[example]]
name = "mwalib-print-context"
path = "examples/mwalib-print-context.rs"
required-features = ["examples"]

[[example]]
name = "mwalib-print-corr-context"
path = "examples/mwalib-print-corr-context.rs"
required-features = ["examples"]

[[example]]
name = "mwalib-print-tile-info"
path = "examples/mwalib-print-tile-info.rs"
required-features = ["examples"]

[[example]]
name = "mwalib-print-volt-context"
path = "examples/mwalib-print-volt-context.rs"
required-features = ["examples"]

[[example]]
name = "mwalib-sum-first-fine-channel-gpubox-hdus"
path = "examples/mwalib-sum-first-fine-channel-gpubox-hdus.rs"
required-features = ["examples"]

[[example]]
name = "mwalib-sum-gpubox-hdus"
path = "examples/mwalib-sum-gpubox-hdus.rs"
required-features = ["examples"]

[[bench]]
name = "correlator_context_benches"
path = "benches/correlator_context_benches.rs"
harness = false

[[bench]]
name = "voltage_context_benches"
path = "benches/voltage_context_benches.rs"
harness = false

[dependencies.anyhow]
version = "1.0"
optional = true

[dependencies.bytemuck]
version = "1.24"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.env_logger]
version = "0.11"
optional = true

[dependencies.fitsio]
version = "0.21"

[dependencies.fitsio-sys]
version = "0.5"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.ndarray]
version = "0.17"
optional = true

[dependencies.num-derive]
version = "0.4"

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

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

[dependencies.pyo3]
version = "0.28"
features = [
    "chrono",
    "extension-module",
    "macros",
]
optional = true

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

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

[dependencies.regex]
version = "1.12"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.criterion]
version = "0.7"

[dev-dependencies.csv]
version = "1.4"

[dev-dependencies.float-cmp]
version = "0.10"

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

[build-dependencies.built]
version = "0.8"

[build-dependencies.cbindgen]
version = "0.29"
default-features = false

[profile.bench]
opt-level = 3