trotFunky
4e1b13dc85
The goal is to not display the graph until the active week has been changed, but the logic retuned early if it wasn't. Simplify the query and check directly if the current week is the last one, if so do not show the graph.
18 lines
596 B
TOML
18 lines
596 B
TOML
[package]
|
|
name = "fabula_votes_server"
|
|
license = "MPL-2.0"
|
|
readme = "README.md"
|
|
authors = ["trotFunky"]
|
|
version = "1.2.1"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
rocket = { version = "0.5.1", features = ["secrets", "json"] }
|
|
rocket_dyn_templates = { version = "0.2.0", features = ["tera"] }
|
|
rocket_db_pools = {version = "0.2.0", features = ["sqlx_sqlite"]}
|
|
sqlx = {version = "0.7.4", default-features = false, features = ["macros", "migrate"]}
|
|
blake2 = "0.10.6"
|
|
argon2 = "0.5.3"
|
|
pulldown-cmark = "0.11.0"
|