slint/api/sixtyfps-rs
Simon Hausmann 1404cb73ae Add support for embedding resources in the rust generator
This is relatively straight-forward via a pass in the compiler to
collect the resources to embed and then use include_bytes! (once per
resource).

What's really annoying is that the rust resource enum can't store a
&'static [u8] because cbindgen doesn't represent that, probably because
the slice representation isn't guaranteed to stay as it is. So instead
this, for now, uses raw pointers.
2020-06-09 22:54:29 +02:00
..
sixtyfps-build Add support for embedding resources in the rust generator 2020-06-09 22:54:29 +02:00
sixtyfps-rs-macro Add support for embedding resources in the rust generator 2020-06-09 22:54:29 +02:00
Cargo.toml Rename corelib to sixtyfps_corelib 2020-06-09 13:27:18 +02:00
compile_fail_tests.rs Make sure that we do not recognize ': =' or '= >' as one token 2020-05-25 18:15:06 +02:00
lib.rs Prepare for the ability to embed image data 2020-06-09 22:54:29 +02:00