54 releases (20 stable)

new 1.6.3 Jan 8, 2025
1.6.2 Nov 22, 2024
1.6.0-alpha.9 Oct 16, 2024
1.6.0-alpha.2 Jul 19, 2024
0.3.0 Nov 7, 2023

#187 in Magic Beans

Download history 8/week @ 2024-09-20 189/week @ 2024-09-27 124/week @ 2024-10-04 146/week @ 2024-10-11 34/week @ 2024-10-18 1/week @ 2024-10-25 209/week @ 2024-11-01 315/week @ 2024-11-08 147/week @ 2024-11-15 645/week @ 2024-11-22 79/week @ 2024-11-29 107/week @ 2024-12-06 46/week @ 2024-12-13 3/week @ 2024-12-20 88/week @ 2025-01-03

201 downloads per month

MIT license

140KB
3.5K SLoC

Turbo Genesis SDK

See more documentation at https://docs.rs/turbo-genesis-sdk/latest/turbo_genesis_sdk/

Getting Started

Create a project

First, create a project:

cargo init --lib your-project-name

Add the dependency

Add the sdk as a dependency in Cargo.toml:

[dependencies]
turbo = { package = "turbo-genesis-sdk" }

Update your code

Open src/lib.rs and add the following:

turbo::go! {
    text!("Hello, world!!!");
}

Build

Build with the following command:

cargo build --target wasm32-unknown-unknown

Run your game with Turbo

turbo run -w .

Dependencies

~4–14MB
~181K SLoC