altium 0.2.1

A library for processing Altium file types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
include!("include_test_util.rs");

use altium::sch::SchDoc;

const SCHDOC_SIMPLE: &str = "tests/samples/schdoc/simple.SchDoc";

#[test]
fn test_parse() {
    test_init_once();
    // Just test error free parsing
    let schdoc = SchDoc::open(SCHDOC_SIMPLE).unwrap();
    println!("{schdoc:#?}");
}