20 releases (4 stable)
2.0.1 | Apr 1, 2024 |
---|---|
2.0.0 | Mar 3, 2024 |
1.2.0 | Oct 21, 2023 |
1.1.0 | Sep 5, 2022 |
0.8.1 | Jul 25, 2021 |
#640 in Configuration
23 downloads per month
Used in 2 crates
79KB
2K
SLoC
mist-core
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.
usage
Add mist-core to your Cargo.toml.
[dependencies.mist-core]
version = "2"
features
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 ofstd::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.
Dependencies
~0.2–9MB
~98K SLoC