72 releases (26 stable)
new 2.1.0 | Mar 20, 2025 |
---|---|
2.0.0-alpha.0 | Feb 28, 2025 |
1.8.1 | Feb 22, 2025 |
1.6.2 | Nov 22, 2024 |
0.3.0 | Nov 7, 2023 |
#1 in #genesis
2,006 downloads per month
Used in mrdirector
330KB
7K
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
~3–13MB
~159K SLoC