eco 0.1.2

A tool for reasoning about breaking changes in Rust ecosystems
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
extern crate eco;

fn main() {
    use std::io::Read;
    use std::fs::File;

    // Load extract info from file.
    let mut extract_info_file = File::open("assets/extract/test2.txt").unwrap();
    let mut extract_info = String::new();
    extract_info_file.read_to_string(&mut extract_info).unwrap();

    let dependency_info = eco::extract::extract_dependency_info_from(&extract_info).unwrap();
    println!("{}", dependency_info);
    // let update_info = eco::update::generate_update_info_from(&dependency_info).unwrap();
    // println!("{}", update_info);
}