* Add extra linting
Added extra linting for some code styles.
Also added the Rust Edition 2024 lints.
Closes#4974
Signed-off-by: BlackDex <black.dex@gmail.com>
* Adjusted according to comments
Signed-off-by: BlackDex <black.dex@gmail.com>
---------
Signed-off-by: BlackDex <black.dex@gmail.com>
"server_time": Utc::now().format("%Y-%m-%d %H:%M:%S UTC").to_string(),// Run the server date/time check as late as possible to minimize the time difference
"server_time": Utc::now().format("%Y-%m-%d %H:%M:%S UTC").to_string(),// Run the server date/time check as late as possible to minimize the time difference
"ntp_time": get_ntp_time(has_http_access).await,// Run the ntp check as late as possible to minimize the time difference
"ntp_time": get_ntp_time(has_http_access).await,// Run the ntp check as late as possible to minimize the time difference