feco3 0.5.0

A library for working with .fec files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::path::PathBuf;

use feco3;

fn repo_root() -> PathBuf {
    PathBuf::from("../..")
}

#[test]
fn it_can_run_everything() {
    let fec_path = repo_root().join("test/fecs/slash_form.fec");
    let mut fec = feco3::FecFile::from_path(&fec_path).unwrap();
    let mut csv = feco3::writers::csv::CSVProcessor::new(PathBuf::from("tests/out"));
    csv.process(&mut fec).unwrap();
}