#godot #cargo #helper #cargo-toml #path #developpers

app cargo-godot

cargo helper for godot developpers

3 releases (breaking)

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

#2 in #godot

Download history 90/week @ 2024-05-13 47/week @ 2024-05-20 119/week @ 2024-05-27 16/week @ 2024-06-03

272 downloads per month

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–15MB
~184K SLoC