This website requires JavaScript.
Explore
Help
Sign in
Julia
/
Koucha
Watch
1
Star
0
Fork
You've already forked Koucha
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
a42853ac5a
Koucha
/
koucha
/
src
/
lib.rs
6 lines
97 B
Rust
Raw
Normal View
History
Unescape
Escape
score, initialize core functionality and types Adds Chrono package Adds a "Result" type to lib.rs creates helpful type aliases for Score, Boost, and Gravity. Creates a "TimedScore" which is a value and time data for calculating score over time. There are two forms of this, Boosted and Decaying. Since a Score can either be decaying over time or have been boosted recently and be kept from decaying for some time. Also implements a BoostedScore and a DecayingScore, which are both TimedScores which represent the different states. These are important because you can't boost a BoostedScore for instance.
2026-02-05 12:05:43 -08:00
use
std
::
error
::
Error
;
type
Result
<
T
>
=
std
::
result
::
Result
<
T
,
Box
<
dyn
Error
>
>
;
pub
mod
score
;
Reference in a new issue
Copy permalink