Expand description
Provides a builder which can be used to setup and initialize the framework.
This can be used to crate and setup central parts of the framework. As Jupiter provides some optional modules, a builder permits to selectively enable or disable them.
Example
Setting up the framework with all features enabled:
#[tokio::main]
async fn main() {
// Enable all features and build the platform...
let platform = Builder::new().enable_all().build().await;
// Register custom functions here...
// Start the main event loop of the server...
platform.require::<Server>().event_loop().await;
}
Structs
- Initializes the framework by creating and initializing all core components.