sb3-decoder
A rust crate for decoding Scratch 3.0 project files (.sb3).
It provides functionality to read and parse the contents of .sb3 files, which are ZIP archives containing JSON files and assets used in Scratch projects.
Todo
- Add examples
- Nicely support C-blocks
- Simplify parts of the API
- Add more documentation to the code
Feature flags
costume_png: Rasterizes SVG costumes to PNG usingresvg. Re-exports theimagecrate.costume_svg: Parses SVG costumes usingusvg. Re-exports theusvgcrate.
Note: Enabling both
costume_pngandcostume_svgwill cause a compile-time error. You must enable only one of them. Note: Enabling none of these features will also cause a compile-time error. You must enable one of them.