xonecas.io
8447
Co

conveyor / files

conveyor / crates / conveyor-widgets / src / lib.rs

322 bytes
1//! The user's widget library, as the app loads it.
2include!(concat!(env!("OUT_DIR"), "/widgets.rs"));
3
4/// The app build these widgets were made against, the widgets, and what each one is.
5#[unsafe(no_mangle)]
6pub fn conveyor_widgets() -> (&'static str, api::Kinds, api::Abouts) {
7    (conveyor_app::BUILD, ALL, ABOUT)
8}