molconv 0.2.0

Convert between several molecular structure and trajectory file formats.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
extern crate cc;

use std::fs;

fn main() {
    // This builds gromacs' xdrfile library
    let source_files: Vec<_> = fs::read_dir("external/xdrfile/src")
        .unwrap()
        .map(|f| f.unwrap())
        .map(|f| f.path())
        .collect();
    cc::Build::new()
        .files(source_files)
        .include("external/xdrfile/include")
        .warnings(false)
        .compile("libxdrfile.a")
}