# rust-embed-resource [](https://travis-ci.org/nabijaczleweli/rust-embed-resource) [](https://ci.appveyor.com/project/nabijaczleweli/rust-embed-resource/branch/master) [](LICENSE) [](https://crates.io/crates/embed-resource)
A [`Cargo` build script](http://doc.crates.io/build-script.html) library to handle compilation and inclusion of Windows resources
in the most resilient fashion imaginable
## [Documentation](https://cdn.rawgit.com/nabijaczleweli/rust-embed-resource/doc/embed_resource/index.html)
## Quickstart
In your build script, assuming the resource file is called `checksums.rc`:
```rust
extern crate embed_resource;
fn main() {
// Compile and link checksums.rc
embed_resource::compile("checksums.rc");
}
```
## Credit
In chronological order:
[@liigo](https://github.com/liigo) -- persistency in pestering me and investigating problems where I have failed
[@mzji](https://github.com/mzji) -- MSVC lab rat
[@TheCatPlusPlus](https://github.com/TheCatPlusPlus) -- knowledge and providing first iteration of manifest-embedding code
[@azyobuzin](https://github.com/azyobuzin) -- providing code for finding places where RC.EXE could hide
[@retep998](https://github.com/retep998) -- fixing MSVC support