dip 0.2.1

Write cross-platform application with React-like declarative UI framework and scalable ECS architecture all in Rust.
Documentation
mod cli;

use crate::cli::DipCliPlugin;
use dip::bevy::{
    app::App,
    log::{Level, LogPlugin, LogSettings},
};

fn main() {
    let mut app = App::new();

    #[cfg(debug_assertions)]
    app.insert_resource(LogSettings {
        filter: "info,dip=debug".into(),
        level: Level::DEBUG,
    });

    #[cfg(not(debug_assertions))]
    app.insert_resource(LogSettings {
        filter: "warn".into(),
        level: Level::WARN,
    });

    app.add_plugin(DipCliPlugin).add_plugin(LogPlugin).run();
}