mechutil 0.8.13

Utility structures and functions for mechatronics applications.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Emit the default `units.json`, so a project template — or an existing
//! machine being migrated — can be seeded with:
//!
//! ```text
//! cargo run --example print_default_units > <project>/units.json
//! ```
fn main() {
    let u = mechutil::units::default_units();
    println!("{}", serde_json::to_string_pretty(&u).unwrap());
}