43 releases (16 stable)

new 1.6.0-alpha.10 Nov 4, 2024
1.6.0-alpha.6 Sep 5, 2024
1.6.0-alpha.2 Jul 19, 2024
1.1.1 Feb 25, 2024
0.3.0 Nov 7, 2023

#5 in #turbo

Download history 3/week @ 2024-07-08 272/week @ 2024-07-15 47/week @ 2024-07-22 98/week @ 2024-08-05 116/week @ 2024-08-12 195/week @ 2024-09-02 86/week @ 2024-09-16 3/week @ 2024-09-23 234/week @ 2024-09-30 137/week @ 2024-10-07 116/week @ 2024-10-14 7/week @ 2024-10-21

494 downloads per month

MIT license

120KB
3K 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–15MB
~177K SLoC