Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
bevy_api_gen
This crate is a part of the "bevy_mod_scripting" workspace.
bevy_api_gen is a Cargo plugin that generates reflection-powered wrappers for Bevy types. It can list Reflect types in a workspace and perform arbitrary codegen using Tera templates.
Installation
To install bevy_api_gen, use the following command:
Usage
Generate
To run the main codegen process, use the following command:
This will perform all parts of the process and generate meta as well as .rs files for each crate in your workspace in your /target/plugin-nightly-2024-01-24/bevy_api_gen
directory
Collect
After generating all the files, you can 'collect' them in a mod.rs file like so:
List Types
To see a list of all Reflect
implementing types in your workspace run:
List Templates
To see the list of all templates which you can override use:
Print Template
You can also print any of the templates to stdout: