Crates.io | include-transformed |
lib.rs | include-transformed |
version | 0.2.2 |
source | src |
created_at | 2022-01-14 17:07:49.50907 |
updated_at | 2023-06-14 08:55:25.838345 |
description | Include transformed files at compile time. |
homepage | |
repository | https://github.com/mkroening/include-transformed |
max_upload_size | |
id | 513957 |
size | 20,237 |
Macros for including transformed files at compile time.
The macros include a file similar to include_bytes!
, but transform the data before inclusion. The transformation could be, for example, assembling assembly code to machine code (include_nasm_bin!
).
The original purpose of this project was including assembled application processor initialization code in libhermit-rs using include_nasm_bin!
.
[dependencies]
include-transformed = "0.2"
This project depends on the unstable features proc_macro_span
#54725 and proc_macro_expand
#90765, which are only available on the nightly toolchain channel.
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in include-transformed by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.