This project provides a parser for the UCSF NMR file format written in Rust. It explicitly supports 2D/3D/4D measurements, but should in theory support any number of dimensions.
The implemenation follows the description of the format outlined at https://www.cgl.ucsf.edu/home/sparky/manual/files.html#UCSFFormat.
Via cargo-edit:
cargo add ucsf_nmr
The example under ./examples/tile_plots.rs shows how to load a spectrum, iterate over all the data points in it and draw a simple greyscale image from it with the help of plotters: