1 unstable release
0.1.0 | Apr 29, 2024 |
---|
#2763 in Parser implementations
51KB
988 lines
xdf_rs
Rust crate for parsing (and maybe one day writing) XDF files. Currently the only supported XDF version is 1.0. (at the time of writing, this the only version that exists)
XDF format specification by SCCN
Installation
cargo add xdf
Example usage
use std::fs;
use xdf::XDFFile;
let bytes = fs::read("tests/minimal.xdf").unwrap();
let xdf_file = XDFFile::from_bytes(&bytes).unwrap();
lib.rs
:
Read (and maybe one day write) XDF files Currently the only supported XDF version is 1.0. (at the time of writing, this the only version that exists)
This library provides a way to read files in the [XDF format
] as specified by SCCN.
Example
let bytes = fs::read("tests/minimal.xdf")?;
let xdf_file = XDFFile::from_bytes(&bytes)?;
Dependencies
~1.4–2.1MB
~42K SLoC