#cargo #build #windows #resource #manifest

bin+lib embed-resource

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

11 stable releases

1.3.1 Sep 14, 2019
1.2.1 Jun 25, 2019
1.1.4 Aug 13, 2017
1.1.3 Jun 23, 2017
0.1.2 Jan 31, 2017

#7 in Development tools

Download history 994/week @ 2019-06-01 893/week @ 2019-06-08 1178/week @ 2019-06-15 1365/week @ 2019-06-22 1008/week @ 2019-06-29 1135/week @ 2019-07-06 862/week @ 2019-07-13 1020/week @ 2019-07-20 1198/week @ 2019-07-27 912/week @ 2019-08-03 987/week @ 2019-08-10 1205/week @ 2019-08-17 1236/week @ 2019-08-24 1072/week @ 2019-08-31 1776/week @ 2019-09-07

4,937 downloads per month
Used in 8 crates

MIT license

16KB
219 lines

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

@SonnyX -- Windows cross-compilation support and testing

Special thanks

To all who support further development on Patreon, in particular:

  • ThePhD

Dependencies

~51KB