#cargo #build #windows #resource #manifest

embed-resource

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

10 releases (stable)

1.1.4 Aug 13, 2017
1.1.3 Jun 23, 2017
1.1.2 May 28, 2017
1.1.1 Mar 3, 2017
0.1.2 Jan 31, 2017

#33 in Development tools

Download history 163/week @ 2018-05-27 210/week @ 2018-06-03 184/week @ 2018-06-10 205/week @ 2018-06-17 317/week @ 2018-06-24 397/week @ 2018-07-01 295/week @ 2018-07-08 223/week @ 2018-07-15 313/week @ 2018-07-22 279/week @ 2018-07-29 341/week @ 2018-08-05 310/week @ 2018-08-12 254/week @ 2018-08-19

1,076 downloads per month

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

Documentation

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

MIT license
  • No runtime deps

Reverse deps