3 releases (breaking)

0.3.0 Jun 14, 2024
0.2.0 May 31, 2024
0.1.0 May 19, 2024

#271 in Cargo plugins

MIT license

35KB
312 lines

cargo-godot

Crates.io Github actions pipeline status

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

Dependencies

~4–13MB
~182K SLoC