dip_bundle 0.2.1

Write cross-platform application with React-like declarative UI framework and scalable ECS architecture all in Rust.
Documentation
#[cfg(feature = "dotfiles")]
mod dotfiles;
#[cfg(feature = "brew")]
mod homebrew;
#[cfg(feature = "scripts")]
mod script;
#[cfg(target_family = "unix")]
mod unix;
#[cfg(feature = "vm")]
mod vm;

pub use self::unix::UnixToolPlugin;
use bevy::{
    app::{App, Plugin},
    ecs::component::Component,
};

pub struct ToolPlugin;

impl ToolPlugin {
    pub fn new() -> Self {
        Self
    }
}

impl Plugin for ToolPlugin {
    fn build(&self, app: &mut App) {
        app.add_event::<InstallTools>();

        #[cfg(target_family = "unix")]
        app.add_plugin(UnixToolPlugin::new());
    }
}

#[derive(Clone)]
pub struct InstallTools;

#[derive(Component)]
pub struct Tool;