Commit graph

3 commits

Author SHA1 Message Date
6702f976cb
Add sqlx, add Adapter, create initial schema
Adds SQLX for database management, and an Adapter interface for
interacting with it. Through the type "AdapterPool"

Creates an initial_schema with everything I think I'll need.
2026-02-05 12:25:34 -08:00
a42853ac5a
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:13:49 -08:00
38d1cbbd50
Flake and Rust Project Init 2026-01-14 12:15:07 -08:00