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§

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

Enums§

BuildMode
Build mode of the crate
LibFormat
The filetype of the GDNativeLibrary

Functions§

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

Type Aliases§

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