Crates.io | cargo-godot |
lib.rs | cargo-godot |
version | 0.5.0 |
created_at | 2024-05-19 12:04:18.941773+00 |
updated_at | 2025-07-01 17:54:42.409837+00 |
description | cargo helper for godot developpers |
homepage | |
repository | https://github.com/sanpii/cargo-godot |
max_upload_size | |
id | 1244863 |
size | 71,722 |
Cargo helper to improve godot rust developement experience.
cargo install cargo-godot
In your rust project, you should add metadata in the Cargo.toml to specify the godot project path:
[package.metadata.godot]
project = "../godot"
Then, you can directly run/export/debug your project directly via cargo:
cargo godot run
cargo-godot
generates the .gdextension
file at the top of rust project. You
can create a link in your godot project:
cd ../godot
ln -s ../rust/project.gdextension
project
: required. The path to the directory contening your godot project;godot_executable
: optional. The godot executable used to launch your project.