unity 0.2.0

Library for working with Unity projects
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::path::Path;

use unity::discover_projects;

fn main() {
    let path = Path::new("/Users/choc/code");

    discover_projects(path).for_each(|p| {
        println!("{}: {}", p.name, p.unity_version);
        for (dep, ver) in p.package_dependencies {
            println!("  {dep}: {ver}");
        }
    });
}