Crates.io | static_res |
lib.rs | static_res |
version | 0.1.1 |
source | src |
created_at | 2022-04-20 10:59:40.460049 |
updated_at | 2022-06-07 12:45:37.260263 |
description | A compile time asset file collector |
homepage | |
repository | |
max_upload_size | |
id | 570916 |
size | 4,808 |
static_res!
macrostatic_res! { "tests/**" }
fn main() {
assert!(tests::test_txt == include_bytes!("../tests/test.txt"));
assert!(tests::folder::test_txt == b"yet another test");
}