Options
All
  • Public
  • Public/Protected
  • All
Menu

LiveSplit livesplit-core

Build Status crates.io npm docs.rs dependency status

livesplit-core is a library that provides a lot of functionality for creating a speedrun timer. It can be used directly from Rust. Additional bindings are available for the following programming languages:

  • C
  • C++
  • C#
  • Java with Java Native Access or Java Native Interface
  • Kotlin with Java Native Interface
  • Swift
  • Ruby
  • Python
  • JavaScript + TypeScript for Node.js and WebAssembly

The documentation is available here:

Build Instructions

You can install Rust with the installer available on rustup.rs. Clone the repository and build the library with the following command:

# Dynamic Library
cargo build --release -p cdylib
# Static Library
cargo build --release -p staticlib

The library will then be available as a shared and static library in the target folder.

If you want to build the bindings for the library too, you need to go into the capi/bind_gen folder and run the following command:

cargo run

The bindings will then be available in capi/bindings.

Download

Builds for a lot of common platforms are available in the Releases.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Generated using TypeDoc