# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "mwa_rust_core"
version = "0.1.1"
authors = ["Christopher H. Jordan <christopherjordan87@gmail.com>", "Derwent McElhinney <derwent.mcelhinney@curtin.edu.au>"]
exclude = [".github/*"]
description = "Convenience Rust code that handles coordinate transformations, Jones matrices, etc. for the Murchison Widefield Array (MWA) radio telescope."
homepage = "https://github.com/MWATelescope/mwa_rust_core"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/MWATelescope/mwa_rust_core"

[[bench]]
name = "bench"
harness = false
[dependencies.approx]
version = ">=0.4,<0.6"
features = ["num-complex"]

[dependencies.erfa-sys]
version = "0.1.*"

[dependencies.hifitime]
version = "2.2.*"

[dependencies.log]
version = "0.4.*"

[dependencies.mwalib]
version = ">=0.9.4"
optional = true

[dependencies.num-complex]
version = ">=0.3,<0.5"

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

[dependencies.rayon]
version = "~1"

[dependencies.thiserror]
version = "1.0.*"
[dev-dependencies.approx]
version = "0.4.0"
features = ["num-complex"]

[dev-dependencies.criterion]
version = "0.3.*"

[dev-dependencies.ndarray]
version = "0.14.*"
features = ["approx"]

[dev-dependencies.num-complex]
version = "0.3.0"

[features]
all-static = ["erfa-static", "cfitsio-static"]
cfitsio-static = ["mwalib/cfitsio-static"]
default = ["mwalib"]
erfa-static = ["erfa-sys/static"]
