actix-embed

GitHub Build Crates.io Docs.rs

Serve embedded file with actix.

```rust use actixweb::App; use actixembed::Embed; use rust_embed::RustEmbed;

[derive(RustEmbed)]

[folder = "testdata/"]

struct Assets;

let app = App::new() .service(Embed::new("/static", &Assets)); ```