Closed mexus closed 3 years ago
I'd be careful with some of the image formats since those could potentially directly included but in general that seems like a good idea.
The only includes I've managed to identify belong to either examples or build.rs:
$ rg include src/
src/mode/terminal.rs
43:/// to include number of characters that can fit on the display.
src/displaysize.rs
13:/// This includes resolution, offset and framebuffer size.
.. and since there is no way to run examples on a published crate (or at least I don't know about one) I think we are on the safe side :)
This is released in 0.5.1. Please upgrade and let us know if there are any problems!
Yup, it works as expected, thanks a lot!!
Remove
memory.x
,build.rs
and various binary files from the published crate. A side effect is that size of the bundle is decreased down to 35 KB from 2.4 MB.Closes #143