Fix warnings
Dependencies
- [2]
YUFPADNOAdd team info to slow game page data - [3]
G4JCZ5F7Store try to register on Mastodon domain - [4]
FVYTV3D2Add custom notes to new games feed - [5]
A2LJT7TTShow duration in turns - [6]
AEWYJHUDStart to show player list - [7]
5RQCVFRHStart leave game form - [8]
K7FOI6UNUpdate dependencies and fix game link - [9]
XKG2L3QBShow label if player could join the game - [10]
FUCFD4UVAdd log in and log out support - [11]
6CFNBL5LAdd headers for better security - [12]
GUAEZDLEAdd turns info to slow game's page - [13]
7QCJHYB6Show contacts in personal page - [14]
MUTHALNPDetect user and domain in Mastodon fediverse - [15]
BCMU6UYKStart login mastodon form - [16]
ZQIIC7C3Add field to store timestamp of joining game - [17]
DGGFYSEGUse non-escaped template for Atom XML - [18]
6BDGQ4VMShow player names for registered players - [19]
MCF5COULAdd personal page - [20]
LTQCLSBUSplit database usage in pages - [21]
TEB4R7OUAdd form to join game - [22]
556ZESEOAdd RSS for new games - [23]
CMA5SKJ3Copy turns Atom generator - [24]
YXH3KDBRAdd initial webfinger - [25]
6NYILMKIAdd page for slow game - [*]
EVP2FSBHSplit index page
Change contents
- replacement in src/pages/slow_game.rs at line 66
naive: chrono::NaiveDateTime,naive: &chrono::NaiveDateTime, - replacement in src/pages/slow_game.rs at line 69
let ts = chrono::DateTime::<chrono::Utc>::from_utc(naive, chrono::Utc);(ts, now - ts)use chrono::TimeZone;let ts = chrono::Utc::from_utc_datetime(&chrono::Utc, naive);(ts, now - &ts) - replacement in src/pages/slow_game.rs at line 146
.map(|x| naive_to_diff_utc(x, now));.map(|x| naive_to_diff_utc(&x, now)); - replacement in src/pages/slow_game.rs at line 149
.map(|x| naive_to_diff_utc(x, now));.map(|x| naive_to_diff_utc(&x, now)); - edit in src/pages/slow_game.rs at line 201
.as_ref() - replacement in src/pages/my.rs at line 113
create_ts: naive_to_text(row.get::<_, chrono::NaiveDateTime>(3)),create_ts: naive_to_text(&row.get::<_, chrono::NaiveDateTime>(3)), - edit in src/pages/my.rs at line 116
.as_ref() - replacement in src/pages/mod.rs at line 97
pub fn naive_to_text(ts: chrono::NaiveDateTime) -> String {chrono::DateTime::<chrono::Utc>::from_utc(ts, chrono::Utc)pub fn naive_to_text(ts: &chrono::NaiveDateTime) -> String {use chrono::TimeZone;chrono::Utc::from_utc_datetime(&chrono::Utc, ts) - replacement in src/pages/log_in.rs at line 241
let opt_client_id = row.get::<_, Option<&str>>(0);let opt_client_secret = row.get::<_, Option<&str>>(1);let _opt_client_id = row.get::<_, Option<&str>>(0);let _opt_client_secret = row.get::<_, Option<&str>>(1); - replacement in src/pages/atom/turns.rs at line 71
let entry_ts = chrono::DateTime::from_utc(turn_ts, chrono::Utc);use chrono::TimeZone;let entry_ts = chrono::Utc::from_utc_datetime(&chrono::Utc, &turn_ts); - replacement in src/pages/atom/games.rs at line 59
let start_ts = chrono::DateTime::<chrono::Utc>::from_utc(row.get::<_, chrono::NaiveDateTime>(1),chrono::Utc,);use chrono::TimeZone;let start_ts =chrono::Utc::from_utc_datetime(&chrono::Utc, &row.get::<_, chrono::NaiveDateTime>(1)); - replacement in src/pages/atom/games.rs at line 67
chrono::DateTime::from_utc(row.get::<_, chrono::NaiveDateTime>(3), chrono::Utc);chrono::Utc::from_utc_datetime(&chrono::Utc, &row.get::<_, chrono::NaiveDateTime>(3));