8 releases (5 breaking)

0.6.0 Feb 6, 2023
0.5.0 Jan 16, 2023
0.4.0 Jan 16, 2023
0.3.1 Jan 15, 2023
0.1.2 Jan 14, 2023

#30 in #scratch

MIT license

360KB
1.5K SLoC

Deprecated

This repository has been moved to rusty-scratch/sb-sbity

Crate is sb-sbity

rs-sb3

Rust crate with Serde implementation for json part in .sb3 format. (the Scratch 3 project format)

'extensions' and 'text_to_speech_language' has yet to be implemented (I'm tired) but is planned. Mostly anything else is completely (probably) implemented.

Some documentation are taken from the Scratch Wiki.

Usage

To use this crate you have to unzip the .sb3 file to get its content which contains "project.json" file. Deserialize "project.json" file with this crate and done! Do whatever you want with the deserialized data. Though, this crate were made to be use with my other in development crate. (It's a Scratch project builder 😀)


lib.rs:

Rust crate with Serde implementation for json part in .sb3 format. (the Scratch 3 project format)

Dependencies

~0.7–1.6MB
~35K SLoC