Create your project
Create and verify a Rust application for Byte Engine.
Create an empty Rust binary application before adding Byte Engine.
Choose a project folder
Open a terminal in the parent directory where you keep development projects. Create a folder for your application, then enter it:
mkdir my-game
cd my-gameReplace my-game with your project's name. If the folder already exists, enter
it without running mkdir.
Initialize the application
Initialize a binary Cargo package in the current folder:
cargo init --binCargo creates this project structure:
my-game/
├── Cargo.toml
└── src/
└── main.rsPin the Rust toolchain
Byte Engine uses unstable Rust features. Create rust-toolchain.toml in the
project folder and pin the supported nightly toolchain:
[toolchain]
channel = "nightly-2026-05-31"Verify the project
Check the empty application before adding engine dependencies:
cargo checkNext, install Byte Engine in this project.