https://github.com/livesplit/auto-splitter-template
A template for creating an auto splitter in Rust.
https://github.com/livesplit/auto-splitter-template
Last synced: about 12 hours ago
JSON representation
A template for creating an auto splitter in Rust.
- Host: GitHub
- URL: https://github.com/livesplit/auto-splitter-template
- Owner: LiveSplit
- Created: 2023-07-01T10:36:36.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-29T13:25:27.000Z (over 1 year ago)
- Last Synced: 2025-08-27T12:14:36.437Z (6 months ago)
- Language: Liquid
- Size: 19.5 KB
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Auto Splitter Template
This repository hosts a template for creating an auto splitter in Rust.
First you need to install the Rust compiler: [Install
Rust](https://www.rust-lang.org/tools/install)
Afterwards install the WebAssembly target. There are two targets that may be of
interest. By default we recommend the `wasm32-unknown-unknown` target.
```sh
rustup target add wasm32-unknown-unknown
```
There's also support for the WebAssembly System Interface (WASI), but WASI
itself is still in preview, so your auto splitter may need to be recompiled in
the future to keep working. WASI has the benefit that it gives you access to the
file system, randomness, clocks, and more. If your auto splitter only needs
access to processes, their memory and the timer, the WASI target is not needed.
```sh
rustup target add wasm32-wasip1
```
After that you need to install the [`cargo
generate`](https://cargo-generate.github.io/cargo-generate/installation.html)
subcommand.
You are now ready to create your auto splitter from the template:
```sh
cargo generate LiveSplit/auto-splitter-template
```
Further instructions are available in the auto splitter's README.