include_data 1.0.1

Include typed data directly in your executable
Documentation
1
2
3
4
5
6
7
8
9
fn main() {}

static NOT_ABP: &[bool] = include_data::include_slice!(bool, "../../test_data/binary_4");

// This type satisfies the requirements of `AnyBitPattern`, but is not marked as such
#[repr(transparent)]
struct Foo(u16);

static NOT_ABP_CUSTOM: &[Foo] = include_data::include_slice!(Foo, "../../test_data/binary_64");