#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

#6 in #timer

Download history 2/week @ 2019-08-15 140/week @ 2019-08-22 31/week @ 2019-08-29 46/week @ 2019-09-05 35/week @ 2019-09-12 156/week @ 2019-09-19 38/week @ 2019-09-26 65/week @ 2019-10-03 4/week @ 2019-10-10 40/week @ 2019-10-17 59/week @ 2019-10-24 30/week @ 2019-10-31 2/week @ 2019-11-07 32/week @ 2019-11-14 22/week @ 2019-11-21

81 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–12MB
~267K SLoC