#title #abbreviation #timer #livesplit #speedrun #programming-language

livesplit-title-abbreviations

livesplit-title-abbreviations encapsulates the algorithm that LiveSplit uses to abbreviate game titles

3 releases (breaking)

0.3.0 Dec 28, 2022
0.2.0 Nov 14, 2021
0.1.0 May 14, 2019

#949 in Development tools

Download history 4/week @ 2024-02-14 25/week @ 2024-02-21 23/week @ 2024-02-28 17/week @ 2024-03-06 13/week @ 2024-03-13 21/week @ 2024-03-20 36/week @ 2024-03-27 53/week @ 2024-04-03

125 downloads per month
Used in livesplit-core

Apache-2.0/MIT

12KB
259 lines

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:

Projects using livesplit-core

Build Instructions

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

cargo build --release -p livesplit-core-capi

The library will then be available as a shared and static library in the target folder. If you only want to build the library as a shared or static library, not both, you can run either one of the following commands:

# Shared Library
cargo rustc --release -p livesplit-core-capi --crate-type cdylib
# Static Library
cargo rustc --release -p livesplit-core-capi --crate-type staticlib

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.

Dependencies

~95KB