#speedrun #timer #livesplit

livesplit-core

livesplit-core is a library that provides a lot of functionality for creating a speedrun timer

14 releases (breaking)

✓ Uses Rust 2018 edition

0.11.0 May 14, 2019
0.10.0 Sep 22, 2018
0.9.0 Jan 22, 2018
0.8.1 Sep 28, 2017
0.1.3 Mar 26, 2017

#9 in #timer

Download history 50/week @ 2019-10-06 21/week @ 2019-10-13 27/week @ 2019-10-20 56/week @ 2019-10-27 28/week @ 2019-11-03 2/week @ 2019-11-10 51/week @ 2019-11-17 17/week @ 2019-11-24 15/week @ 2019-12-01 42/week @ 2019-12-08 3/week @ 2019-12-15 18/week @ 2019-12-22 1/week @ 2019-12-29 1/week @ 2020-01-05 204/week @ 2020-01-12

127 downloads per month

Apache-2.0/MIT

1MB
22K SLoC

LiveSplit livesplit-core

Build Status 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, asm.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 over here: Releases

Dependencies

~9–13MB
~273K SLoC