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 1023/week @ 2019-10-15 1871/week @ 2019-10-22 1734/week @ 2019-10-29 1345/week @ 2019-11-05 1456/week @ 2019-11-12 1677/week @ 2019-11-19 1513/week @ 2019-11-26 1428/week @ 2019-12-03 1818/week @ 2019-12-10 1570/week @ 2019-12-17 1275/week @ 2019-12-24 1360/week @ 2019-12-31 1855/week @ 2020-01-07 1649/week @ 2020-01-14 1538/week @ 2020-01-21

6,349 downloads per month
Used in 10 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