cargo-godot

Crates.iocargo-godot
lib.rscargo-godot
version0.3.0
sourcesrc
created_at2024-05-19 12:04:18.941773
updated_at2024-06-14 09:11:42.360819
descriptioncargo helper for godot developpers
homepage
repositoryhttps://github.com/sanpii/cargo-godot
max_upload_size
id1244863
size57,173
Sanpi (sanpii)

documentation

README

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
Commit count: 29

cargo fmt