Crates.io | livesplit-core |
lib.rs | livesplit-core |
version | 0.13.0 |
source | src |
created_at | 2017-03-26 17:52:37.23332 |
updated_at | 2022-12-29 16:37:04.032125 |
description | livesplit-core is a library that provides a lot of functionality for creating a speedrun timer. |
homepage | |
repository | https://github.com/LiveSplit/livesplit-core |
max_upload_size | |
id | 9158 |
size | 1,683,479 |
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:
The documentation is available here:
livesplit-core
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 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
.
Builds for a lot of common platforms are available in the Releases.
Licensed under either of
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.