sb3-decoder 0.1.0

A Rust library for decoding Scratch 3.0 project files (.sb3)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! The raw_costume module contains the [`RawCostume`] struct.

/// The [`RawCostume`] struct represents a costume / backdrop in its raw form
/// in a Scratch 3.0 project.
#[derive(serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct RawCostume {
    /// The name of the costume / backdrop.
    pub name: String,

    /// The data format of the costume (e.g., "png", "svg").
    pub data_format: String,

    /// The MD5 hash with file extension of the costume / backdrop.
    pub md5ext: String,
}