| Crates.io | ustar-parser |
| lib.rs | ustar-parser |
| version | 0.1.3 |
| created_at | 2025-11-22 22:37:39.009457+00 |
| updated_at | 2025-11-24 14:33:59.769495+00 |
| description | STAR format parser for CIF, mmCIF, NMR-STAR, cif dictionaries, NEF files and other scientific data formats |
| homepage | https://github.com/varioustoxins/ustar |
| repository | https://github.com/varioustoxins/ustar |
| max_upload_size | |
| id | 1945838 |
| size | 705,947 |
A Rust parser for STAR (Self-defining Text Archive and Retrieval) format files, including NEF, CIF, mmCIF, and NMR-STAR.
[dependencies]
ustar-parser = "0.1"
use ustar::parsers::ascii::{AsciiParser, Rule};
use pest::Parser;
let content = std::fs::read_to_string("example.cif")?;
let pairs = AsciiParser::parse(Rule::star_file, &content)?;
LGPL3