20 releases (4 stable)

1.1.2 Apr 8, 2024
1.1.1 Feb 25, 2024
0.3.10 Jan 22, 2024
0.3.6 Dec 17, 2023
0.1.2 Aug 19, 2023

#2577 in Magic Beans

Download history 35/week @ 2023-12-30 27/week @ 2024-01-06 39/week @ 2024-01-13 25/week @ 2024-01-20 1/week @ 2024-01-27 13/week @ 2024-02-10 283/week @ 2024-02-17 293/week @ 2024-02-24 16/week @ 2024-03-02 13/week @ 2024-03-09 3/week @ 2024-03-16 37/week @ 2024-03-30 98/week @ 2024-04-06 190/week @ 2024-04-13

325 downloads per month

MIT license

59KB
1.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-cli run -w .

Dependencies

~4–14MB
~153K SLoC