altium 0.2.1

A library for processing Altium file types
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[allow(unused)]
fn test_init_once() {
    use std::sync::OnceLock;
    static ONCE: OnceLock<()> = OnceLock::new();

    ONCE.get_or_init(|| {
        env_logger::init_from_env(
            env_logger::Env::default().filter_or(env_logger::DEFAULT_FILTER_ENV, "debug"),
        )
    });
}