Rust wrapper for libctru
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andrea Ciliberti 39829e1820 Am, Apt and refactoring to streamline the API and docs 1 year ago
.github Remove --workspace flag 2 years ago
ctru-rs Am, Apt and refactoring to streamline the API and docs 1 year ago
ctru-sys Renew manifests and fix warnings 1 year ago
.gitignore Ignore IDE files 3 years ago
Cargo.toml Renew manifests and fix warnings 1 year ago
LICENSE Restore copyright label 2 years ago
README.md General setup for the new documentation 1 year ago

README.md

ctru-rs

A Rust wrapper around libctru.

Structure

This repository is organized as follows:

  • ctru-rs: Safe, idiomatic wrapper around ctru-sys

  • ctru-sys: Low-level, unsafe bindings to libctru.

    This crate's version changes according to the version of libctru used to generate the bindings, with the following convention:

    • libctru version X.Y.Z-W
    • ctru-sys version XY.Z.P+X.Y.Z-W

    where P is usually 0 but may be incremented for fixes in e.g. binding generation, libc dependency bump, etc.

    It may be possible to build this crate against a different version of libctru, but you may encounter linker errors or ABI issues. A build-time Cargo warning (displayed when built with -vv) will be issued if the build script detects a mismatch or is unable to check the installed libctru version.

Original version

This project is based on the efforts the original authors:

The old version is archived here.