Crate gdnative_project_utils

Source
Expand description

Utilities for working with GDNative projects.

This crate can be used in cargo build scripts to automatically generate .gdnlib and .gdns files for the current project.

It currently does this by scanning the project sources for types that derive NativeClass and generates one .gdns file for each type.

Structs§

  • A builder type that holds all necessary information about the project to generate files in all the right places.

Enums§

Functions§

  • Scan the directory at path dir for all *.rs files and find types which implement NativeClass.

Type Aliases§

  • Type-alias for a set of classes that were found from the scan.