/ogc-rs

Rust on Nintendo Wii - A safe, idiomatic Rust wrapper for devkitPro's libogc

Primary LanguageRustMIT LicenseMIT

ogc-rs

Crates.io

A Rust wrapper library for devkitPro's libogc.

To get started, you'll first need to install the following dependencies on your system:

Then you'll need to fork this repo and git clone your fork into your local machine.

When that's done, do the following:

$ cd ogc-rs
$ rustup override set nightly
$ rustup component add rust-src
$ cargo check

If everything's working properly, cargo check should run successfully.

See the Wii testing project for an example 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.