turbo-genesis-sdk

Crates.ioturbo-genesis-sdk
lib.rsturbo-genesis-sdk
version1.6.2
sourcesrc
created_at2023-08-19 16:17:19.683429
updated_at2024-11-22 19:15:53.153547
descriptionTurbo Genesis SDK
homepage
repositoryhttps://github.com/super-turbo-society/turbo-genesis-sdk
max_upload_size
id948775
size136,879
Josiah Savary (jozanza)

documentation

README

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 .
Commit count: 57

cargo fmt