2 releases

0.1.2 Jun 4, 2025
0.1.0 Apr 29, 2024

#192 in Biology

Download history 31/week @ 2025-06-06 5/week @ 2025-06-13 1/week @ 2025-06-20 2/week @ 2025-06-27 1/week @ 2025-08-15 4/week @ 2025-08-22

98 downloads per month

MIT/Apache

58KB
1K SLoC

github crates

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