1 2 3 4 5 6 7 8 9 10 11 12 13
use bevy::app::{App, Plugin}; pub mod camera; pub mod error; pub mod types; pub struct GstreamerPlugin; impl Plugin for GstreamerPlugin { fn build(&self, app: &mut App) { app.add_plugins(camera::WebCameraPlugin); } }