#wii #no-std

nightly no-std ogc-rs

A Rust wrapper library for devkitPro's libogc

2 releases

0.1.1 Jul 9, 2022
0.1.0 Dec 16, 2021

#687 in Embedded development

MIT license

1MB
18K SLoC

ogc-rs

Crates.io

A Rust wrapper library for devkitPro's libogc.

See the Wii testing project for instructions on how to use this library.

Structure

This repository is organized as follows:

  • ogc-rs: Safe, idiomatic wrapper around ogc-sys.
  • ogc-sys: Low-level, unsafe bindings to libogc.

License

See LICENSE for more details.


lib.rs:

ogc-rs

ogc-rs is a safe, idiomatic wrapper around ogc-sys.

ogc-rs provides many features from libogc such as:

  • network: Provides TCP networking for the Wii.
  • audio: Provides functions for audio on the Wii.
  • fs: Provides functions for manipulating the filesystem on the Wii.
  • system: Provides OS functions for the Wii.
  • console: Provides console functions for the Wii.
  • input: Provides an interface for reading input from devices on the Wii.
  • video: Provides functions for video output on the Wii.
  • gx: Provides an opengl-like interface for rendering on the Wii.

ogc-rs also provides runtime functions and an allocator for no_std environments.

Dependencies

~2–5MB
~110K SLoC