mwa_rust_core
Convenience Rust code that handles coordinate transformations, Jones matrices, etc.
Prerequisites
-
A Rust compiler with a version >= 1.50.0
https://www.rust-lang.org/tools/install -
- Ubuntu:
liberfa-dev - Arch: AUR package
erfa - The library dir can be specified manually with
ERFA_LIB - If not specified,
pkg-configis used to find the library. - Use
--features=erfa-staticto build the library automatically. Requires a C compiler andautoconf.
- Ubuntu:
Optional prerequisites
If using the mwalib feature (true by default):
- cfitsio
- Ubuntu:
libcfitsio-dev - Arch:
cfitsio - Library and include dirs can be specified manually with
CFITSIO_LIBandCFITSIO_INC - If not specified,
pkg-configis used to find the library. - Use
--features=cfitsio-staticto build the library automatically. Requires a C compiler andautoconf.
- Ubuntu:
To link a system-provided static library, use e.g. ERFA_STATIC=1. To link all
system-provided static libraries, use PKG_CONFIG_ALL_STATIC=1. To build all C
libraries and link statically, use the all-static feature.