Crates.io | mist-core |
lib.rs | mist-core |
version | 2.0.1 |
source | src |
created_at | 2021-05-20 22:21:03.530712 |
updated_at | 2024-04-01 23:57:38.086921 |
description | core functionality of mist |
homepage | |
repository | https://codeberg.org/periwinkle/mist |
max_upload_size | |
id | 400153 |
size | 80,945 |
The heart of functionality of mist. Contains utilities specific to mist as well as some that could be used from other programs to interact with split files.
Add mist-core to your Cargo.toml.
[dependencies.mist-core]
version = "2"
mist-core
provides several features, mostly to enable functionality that is only used by the timer. These are:
state
: enable the timer::state module, mostly containing things related to mist's internal state during a rundialogs
: enable dialogs module, containing things like dialogs prompting the user for filesconfig
: enable config module, containing the configuration utilities and types for mistportable
: change the configuration path to the directory of the executable rather than platform-specific locationinstant
: enable timer::instant module, containing an alternate implementation of std::time::Instant
for platforms where it doesn't act how mist wants it tolss
: enable (experimental, somewhat lossy) conversion of LiveSplit split files to mist split files. most likely to be accurate on files with few or no times set in them.bg
: enable support for mist's background imagesser
: enable serialization and deserialization of Run (and StateDump if state is enabled)state
, dialogs
, config
, instant
and ser
are enabled by default, since they are what mist uses by default.
The Run
struct and associated items are always included.