| Crates.io | godust |
| lib.rs | godust |
| version | 0.0.5 |
| created_at | 2025-06-29 01:44:10.141325+00 |
| updated_at | 2025-07-03 22:23:02.171624+00 |
| description | Godust - CLI tool for Godot Engine template generation |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1730239 |
| size | 186,138 |
Godust is a CLI tool that generates Godot Engine project templates in Rust, specifically using the godot-rust library (GDExtension bindings for Rust).
The godot-rust library is a pure Rust implementation of the GDExtension bindings. This means you can write code in Rust that's equivalent to what you'd typically use GDScript or C# for in Godot.
A key advantage is that because your game project is fundamentally a Rust project, you can easily integrate other Rust tools and libraries. For example, you can incorporate Bevy Engine packages, or use Vulkano and Ash for Vulkan graphics code. We're even planning future templates that will include pre-built scripts for common features, like an inventory system using Bevy ECS, among others.
If you encounter problems or have suggestions for the CLI itself, including ideas for new templates, changes, or bug fixes, please open an issue. Feel free to submit pull requests (PRs) for any changes or improvements you'd like to contribute.
However, if you need assistance with programming your game using Godot and Rust, here are some excellent resources:
godot-rust Official Book: The official book is your primary guide for learning Godot with Rust.
godot-rust API Documentation: For detailed information on the available functions and modules, consult the API documentation.
godot-rust GitHub: If you encounter bugs specifically related to godot-rust, you can check their GitHub repository here.
godot-rust Demo Projects: Remember that godot-rust also maintains its own repository of demo projects. While our templates don't strictly adhere to these examples (we aim for more dynamic generation), you can still extract useful content and insights from them.
Community Communication Channels: For further community engagement for godot-rust, you can find links to communication groups like Discord and Mastodon on the godot-rust main website.
Godot Engine Official Documentation: You will likely also want to consult the Godot Engine official documentation. It's arguably the best source for understanding the engine's core concepts and inner workings. If you're learning, adapting the GDScript and C# samples and tutorials to Rust can be an extremely helpful exercise.
Disclaimer: Please note that this CLI and its templates are an independent project and are not associated with godot-rust or its development team.
Here's what's coming for our project templates:
Before getting started, please ensure you have the following installed:
To generate the template:
Note: For now, we don't have any templates available beyond the blank one, so it will default to the blank. When new templates are available, we will add the -t parameter to choose them.
To use the blank template you need to define the engine version, render method and the project name:
godust --name my_project_name --engine 4.4 --rendering-method "forward_plus"
Godust help:
Godust - CLI tool for Godot Engine template generation
Usage: godust --name <NAME> --engine <ENGINE> --rendering-method <RENDERING_METHOD>
Options:
-n, --name <NAME> Define project name
-e, --engine <ENGINE> Godot Engine version
-r, --rendering-method <RENDERING_METHOD> Rendering method (forward_plus or compatibility)
-h, --help Print help
-V, --version Print version
Everything works well if you see something like this:
Successfully created project structure for 'my_project_name'...
Successfully created Rust project 'my_project_name_core'...
Successfully created Godot project 'my_project_name'...
- Godot project name: my_project_name
- Rust project name: my_project_name_core
- Engine version: 4.4
- Rendering method: forward_plus
After generating your Godot-Rust project, there are a couple of essential steps before you can run it in the Godot editor:
cargo build
Note: For a production build you will compile using cargo build --release.
This command compiles your Rust code, making it ready for Godot to use.

Even though the template generation process customizes the name of the core project (the Rust part of the project), which is different from the default defined in the godot-rust book HelloWorld tutorial, the overall structure still needs to respect the same layout.
This project is licensed under the MIT License.