Examples
Examples are included with the Rust for Dreamcast repo to help you get started.
hellodemonstrates how to create a simple "Hello, world!" application using cargo.gldc-cubedemonstrates a Rust project using the GLdc KOS port.romdiskdemonstrates how to generate and mount a read-only ROMdisk with a KallistiOS project.addlibdemonstrates how to create a Rust library that can be included with a KallistiOS project.atomicsdemonstrates the use of atomic functions.filesystem-iodemonstrates listing directory contents and opening files.httpdemonstrates creating a basic server to handle HTTP requests over TCP.network-timedemonstrates displaying the system time and retrieving the current UTC time from an NTP server using the [[Broadband adapter]] or [[LAN adapter]].pvrmark_strips_directdemonstrates the use of PVR direct rendering.romdiskdemonstrates bundling a read-only ROMdisk filesystem into your program.threadsdemonstrates the use of threads.tokio-asyncdemonstrates the use of the tokio async runtime.