Skip to content

A Cargo build script library to handle compilation and inclusion of Windows resources, in the most resilient fashion imaginable

License

Notifications You must be signed in to change notification settings

snapview/rust-embed-resource

 
 

Repository files navigation

rust-embed-resource TravisCI build status AppVeyorCI build status Licence Crates.io version

A Cargo build script library to handle compilation and inclusion of Windows resources in the most resilient fashion imaginable

Quickstart

In your build script, assuming the resource file is called checksums.rc:

extern crate embed_resource;

fn main() {
    // Compile and link checksums.rc
    embed_resource::compile("checksums.rc");
}

Credit

In chronological order:

@liigo -- persistency in pestering me and investigating problems where I have failed

@mzji -- MSVC lab rat

@TheCatPlusPlus -- knowledge and providing first iteration of manifest-embedding code

@azyobuzin -- providing code for finding places where RC.EXE could hide

@retep998 -- fixing MSVC support

@application-developer-da -- adding support for Windows crosscompilation (GNU toolkit)

About

A Cargo build script library to handle compilation and inclusion of Windows resources, in the most resilient fashion imaginable

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%