feat(GodotRust)!: Add godot-rust project support#24
Open
DragonAxe wants to merge 26 commits intobytemeadow:mainfrom
Open
feat(GodotRust)!: Add godot-rust project support#24DragonAxe wants to merge 26 commits intobytemeadow:mainfrom
DragonAxe wants to merge 26 commits intobytemeadow:mainfrom
Conversation
- Added GDExtension file generation.
+ Includes cargo support for locating cargo target directory.
+ Added `[gdextension.<name>.GodotBevy]` section to gdenv.toml. Supports generating multiple gdextension files at once to support multiple native extensions.
+ Support for additional gdextension generators can be added by adding new cases to SpecGdExtensionGenerator enum.
- Moved godot runner code into GodotRunner API:
+ Formalized runner API for use in cargo run scripts (run_godot.rs).
+ Runner is now testable with the help of command_runner.rs.
+ Added `pre_import` field to gdenv.toml to generate `.godot` directory for newly cloned projects.
- Fixed bug in installer.rs. `install_version_from_archive` return value did not return a path to the godot executable.
- 67% of all lines now have test coverage!
+ 81% for gdenv-lib.
+ <1% for gdenv.
…ing match in tests
…symlinks on MacOS
DragonAxe
commented
Mar 3, 2026
- Fetch `crate_name` from cargo_metadata instead of asking user. - Automatically append `Cargo.toml` to `cargo_manifest_path`. - Rename `cargo_manifest_path` to `cargo_crate_path`.
Collaborator
Author
|
I also simplified the gdenv.toml gdextension configuration by removing the need for a |
Collaborator
Author
|
I don't like how GodotRunner::build leaks the tokio dependency, requiring users of the library to use it. I'm looking for an alternate solution. |
Improved API usage example.
- `tempdir` crate has been deprecated, using `tempfile`
Collaborator
Author
|
Collaborator
Author
|
I keep seeing this error in the Security Audit job: It goes away when I re-run the job. Seems like a Blaze server issue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added GDExtension file generation.
+ Includes cargo support for locating cargo target directory.
+ Added
[gdextension.<name>.GodotBevy]section to gdenv.toml. Supports generating multiple gdextension files at once to support multiple native extensions.+ Support for additional gdextension generators can be added by adding new cases to SpecGdExtensionGenerator enum.
Moved godot runner code into GodotRunner API:
+ Formalized runner API for use in cargo run scripts (run_godot.rs).
+ Runner is now testable with the help of command_runner.rs.
+ Added
pre_importfield to gdenv.toml to generate.godotdirectory for newly cloned projects.Fixed bug in installer.rs.
install_version_from_archivereturn value did not return a path to the godot executable.67% of all lines now have test coverage!
+ 81% for gdenv-lib.
+ <1% for gdenv.