Serve embedded file with warp
use warp::Filter;
use rust_embed::RustEmbed;
#[derive(RustEmbed)]
#[folder = "data"]
struct Data;
let data_serve = warp_embed::embed(&Data);
Serve embedded file with warp
use warp::Filter;
use rust_embed::RustEmbed;
#[derive(RustEmbed)]
#[folder = "data"]
struct Data;
let data_serve = warp_embed::embed(&Data);