2 releases
| 0.1.2 | Jun 4, 2025 |
|---|---|
| 0.1.0 | Apr 29, 2024 |
#192 in Biology
98 downloads per month
58KB
1K
SLoC
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)?;
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();
Dependencies
~1–1.7MB
~35K SLoC