# 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.80" name = "mwa_hyperbeam" version = "0.10.0" authors = [ "Christopher H. Jordan ", "Jack L. B. Line ", "Marcin Sokolowski ", "Dev Null ", ] build = "build.rs" exclude = [ ".github/*", "fee_pols.pdf", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Primary beam code for the Murchison Widefield Array (MWA) radio telescope." homepage = "https://github.com/MWATelescope/mwa_hyperbeam" readme = "README.md" license = "MPL-2.0" repository = "https://github.com/MWATelescope/mwa_hyperbeam" [package.metadata.docs.rs] features = ["hdf5-static"] targets = ["x86_64-unknown-linux-gnu"] [profile.release] lto = "thin" codegen-units = 1 [lib] name = "mwa_hyperbeam" crate-type = [ "rlib", "staticlib", "cdylib", ] path = "src/lib.rs" [[bin]] name = "verify-beam-file" path = "src/bin/verify-beam-file.rs" [[example]] name = "analytic" path = "examples/analytic.rs" [[example]] name = "analytic_cuda" path = "examples/analytic_cuda.rs" required-features = ["cuda"] [[example]] name = "analytic_hip" path = "examples/analytic_hip.rs" required-features = ["hip"] [[example]] name = "fee" path = "examples/fee.rs" [[example]] name = "fee_cuda" path = "examples/fee_cuda.rs" required-features = ["cuda"] [[example]] name = "fee_hip" path = "examples/fee_hip.rs" required-features = ["hip"] [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.cfg-if] version = "1.0.0" [dependencies.cuda-runtime-sys] version = "0.3.0-alpha.1" optional = true [dependencies.hdf5-metno] version = "0.9.2" [dependencies.hdf5-metno-sys] version = "0.9.1" features = [ "static", "threadsafe", ] optional = true [dependencies.hip-sys] version = "0.1.0" optional = true [dependencies.marlu] version = "0.15.0" default-features = false [dependencies.ndarray] version = "0.16.0" [dependencies.num-complex] version = "0.4.1" [dependencies.numpy] version = "0.22.1" optional = true [dependencies.panic-message] version = "0.3.0" [dependencies.parking_lot] version = "0.12.0" [dependencies.pyo3] version = "0.22.0" features = ["extension-module"] optional = true [dependencies.rayon] version = "1.5.0" [dependencies.thiserror] version = "1.0.2" [dev-dependencies.approx] version = "0.5.0" features = ["num-complex"] [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.marlu] version = "0.15.0" features = ["approx"] default-features = false [dev-dependencies.ndarray] version = "0.16.0" features = ["approx"] [dev-dependencies.serial_test] version = "2.0.0" [build-dependencies.cbindgen] version = "0.25.0" default-features = false [build-dependencies.cc] version = "1.0.0" features = ["parallel"] optional = true [build-dependencies.cfg-if] version = "1.0.0" [build-dependencies.hip-sys] version = "0.1.0" optional = true [features] all-static = [ "hdf5-static", "cuda-static", ] cuda = [ "cuda-runtime-sys", "cc", ] cuda-static = [] default = [] gpu-single = [] hdf5-static = ["hdf5-metno-sys"] hip = [ "hip-sys", "cc", ] python = [ "pyo3", "numpy", ]