Registry / utility / lazy-static-include

lazy-static-include

JSON →
library3.2.1rscratesunverified

Provides `lazy_static_include_bytes` and `lazy_static_include_str` macros to replace `include_bytes` and `include_str` macros.

# Cargo.toml [dependencies] lazy-static-include = "3.2.1"
INSTALL
IMPORT
SIG · LAZY-STATIC-INCLUD
L
lazy-static-include
utilityrustv3.2.1
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.

lazy_static_include_bytes
use lazy_static_include::lazy_static_include_bytes;

Include a file as a static byte array lazily.

use lazy_static_include::lazy_static_include_bytes; lazy_static_include_bytes! { MY_BYTES => "path/to/file.bin" } fn main() { println!("{:?}", MY_BYTES); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
lazy-static-include — cargo add lazy-static-include · libregistry