Crates.io | turbo-genesis-sdk |
lib.rs | turbo-genesis-sdk |
version | |
source | src |
created_at | 2023-08-19 16:17:19.683429+00 |
updated_at | 2025-02-22 00:40:09.044607+00 |
description | Turbo Genesis SDK |
homepage | |
repository | https://github.com/super-turbo-society/turbo-genesis-sdk |
max_upload_size | |
id | 948775 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
See more documentation at https://docs.rs/turbo-genesis-sdk/latest/turbo_genesis_sdk/
First, create a project:
cargo init --lib your-project-name
Add the sdk as a dependency in Cargo.toml
:
[dependencies]
turbo = { package = "turbo-genesis-sdk" }
Open src/lib.rs
and add the following:
turbo::go! {
text!("Hello, world!!!");
}
Build with the following command:
cargo build --target wasm32-unknown-unknown
Run your game with Turbo
turbo run -w .