cargo-godot

cargo helper for godot developpers

MIT License

Downloads
1.4K
Stars
1

cargo-godot

Cargo helper to improve godot rust developement experience.

Install

cargo install cargo-godot

Use

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