Registry / build-tool / embed-resource

embed-resource

JSON →
library3.0.9rscratesunverified

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

# Cargo.toml [dependencies] embed-resource = "3.0.9"
INSTALL
IMPORT
SIG · EMBED-RESOURCE
E
embed-resource
build-toolrustv3.0.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

embed_resource
use embed_resource::embed_resource;

Embed Windows resources during build

// In build.rs: fn main() { embed_resource::embed_resource("resources/resource.rc"); }
Debug
Known issues
gotchaOnly works on Windows targets
fix
Use conditional compilation with `#[cfg(target_os = "windows")]`
affects: >=3.0.0
Upgrade
Version history
3.0.9latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources
embed-resource — cargo add embed-resource · libregistry