Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

API reference

The generated rustdoc is the exhaustive reference for every public crate in the workspace. The book covers concepts and curated maps; the rustdoc covers every type, trait, function, and method.

The published reference is built from main on every release and lives at eraflo.github.io/KhoraEngine/api.

Public SDK

khora-sdk is the only crate game developers should depend on. Everything else is implementation detail. See the SDK surface page for a curated map.

Entryrustdoc
Crate rootkhora_sdk
Preludekhora_sdk::prelude
Engine typeEngineCore
ECS facadeGameWorld
App lifecycle traitEngineApp
Agent registration traitAgentProvider
Custom phase traitPhaseProvider
Spawn builderVessel
Bootstrap entryrun_winit
Window settingsWindowConfig

Internal crates

Visible for engine contributors. Game code should not depend on these directly — their surface is re-exported through khora-sdk where game code needs it. See the crate map for the dependency layering.

Generating locally

To build the same rustdoc on your machine:

cargo doc --workspace --no-deps --open

The output lands under target/doc/. The combined documentation site (this book plus rustdoc mounted under /api) is assembled by .github/workflows/docs.yml on every push to main; there is no single local command that mirrors the full combined site.


The API reference is the contract. The book is the rationale — start with Concepts.