woz 1.2.3

Woz is a WebAssembly progressive web app (PWA) toolchain for deploying performant mobile apps distributed for free with a hyperlink.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use failure::Error;
use crate::file_upload::FileUpload;

pub mod wasm;
pub mod pwa;
pub mod icon;
pub mod splashscreen;
pub mod landing_page;


/// Implement this trait to extend an AppBuilder to include additional
/// files. See examples in this directory.
pub trait AppComponent {
    /// Returns a collection of file uploads to be added to be added
    /// to the application. Ordering does not matter.
    fn files(&self, file_prefix: &String) -> Result<Vec<FileUpload>, Error>;
}