gdnative_project_utils/lib.rs
1//! Utilities for working with GDNative projects.
2//!
3//! This crate can be used in cargo build scripts to automatically generate
4//! `.gdnlib` and `.gdns` files for the current project.
5//!
6//! It currently does this by scanning the project sources for types that derive
7//! `NativeClass` and generates one `.gdns` file for each type.
8
9mod generate;
10mod scan;
11
12pub use generate::Builder as Generator;
13pub use generate::{BuildMode, LibFormat};
14pub use scan::{scan_crate, Classes};