Cargo Features

[dependencies]
livesplit-core = { version = "0.13.0", default-features = false, features = ["std", "more-image-formats", "image-shrinking", "rendering", "path-based-text-engine", "font-loading", "software-rendering", "wasm-web", "networking", "auto-splitting", "unstable-auto-splitting"] }
default = image-shrinking, std

These default features are set whenever livesplit-core is added without default-features = false somewhere in the dependency tree.

std default auto-splitting? font-loading? image-shrinking networking? wasm-web? = image, libc, winapi

Enables local-offset of time and detect and std of base64-simd

core

and std of optional tiny-skia ^0.8.2

Software Rendering

and std of livesplit-hotkey, memchr, serde, serde_json, simdutf8, snafu ^0.7.0, and optional rustybuzz ^0.6.0

rustybuzz:

Rendering
Currently doesn't require any additional dependencies.

Path-based Text Engine

Affects livesplit::IoWrite, timer::SharedTimer

more-image-formats image-shrinking rendering?

Enables bmp, farbfeld, hdr, ico, jpeg, pnm, tga, tiff and webp of optional image ^0.24.0

std

image-shrinking default = more-image-formats, std
rendering path-based-text-engine? = more-image-formats

Enables gif of optional image ^0.24.0

Affects livesplit-core::rendering

path-based-text-engine font-loading? software-rendering? = rendering, rustybuzz

Affects rendering::path_based_text_engine, byte_parsing::pod, byte_parsing::slice

font-loading = font-kit, path-based-text-engine, std
software-rendering = path-based-text-engine, tiny-skia, tiny-skia-path

Affects rendering::software

wasm-web = js-sys, std, wasm-bindgen, web-sys

Enables wasm-web of livesplit-hotkey

networking = splits-io-api, std

Affects livesplit-core::networking

auto-splitting = livesplit-auto-splitting, log, std, tokio

Affects livesplit-core::auto_splitting

unstable-auto-splitting

Enables unstable of optional livesplit-auto-splitting

Auto Splitting

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

image std

Enables image ^0.24.0

rustybuzz path-based-text-engine?

Enables rustybuzz ^0.6.0

font-kit font-loading?

Enables font-kit ^0.11.0

Font Loading

tiny-skia software-rendering?

Enables tiny-skia ^0.8.2

tiny-skia-path software-rendering?

Enables tiny-skia-path ^0.8.2

splits-io-api networking?

Enables splits-io-api ^0.3.0

Networking

livesplit-auto-splitting auto-splitting?
tokio auto-splitting?
log auto-splitting?
js-sys wasm32 unknown wasm-web?
libc linux l4re android mac ios std
wasm-bindgen wasm32 unknown wasm-web?
web-sys wasm32 unknown wasm-web?
winapi win std