static_res

Crates.iostatic_res
lib.rsstatic_res
version0.1.1
sourcesrc
created_at2022-04-20 10:59:40.460049
updated_at2022-06-07 12:45:37.260263
descriptionA compile time asset file collector
homepage
repository
max_upload_size
id570916
size4,808
Eemeli Lehtonen (xor-bits)

documentation

README

static_res! macro

static_res! { "tests/**" }

fn main() {
	assert!(tests::test_txt == include_bytes!("../tests/test.txt"));
	assert!(tests::folder::test_txt == b"yet another test");
}
Commit count: 0

cargo fmt