# actix-embed
[](https://github.com/unbyte/actix-embed)
[](https://github.com/unbyte/actix-embed/actions)
[](https://crates.io/crates/actix-embed)
[](https://docs.rs/actix-embed)
Serve embedded file with actix.
```rust
use actix_web::App;
use actix_embed::Embed;
use rust_embed::RustEmbed;
#[derive(RustEmbed)]
#[folder = "testdata/"]
struct Assets;
let app = App::new()
.service(Embed::new("/static", &Assets));
```