···1717/// The Page type is, pretty explanatory, an enum of all the pages in the app. Nested if needed, to track fields like the current tab in the Dashboard or the username form field in the login page.
1818pub type Page {
1919 Landing
2020- Register(fields: RegisterPageFields)
2020+ Register(fields: RegisterPageFields, ready: Option(Result(Nil, String)))
2121 Login(fields: LoginFields)
2222 HomeTimeline(timeline_id: String)
2323}
+2-1
server/Cargo.toml
···2121tokio-postgres = { version = "0.7.13", features = ["with-uuid-1"] }
2222bcrypt = "0.17.0"
2323r2d2 = "0.8.10"
2424-r2d2_sqlite = {version = "0.27.0", features = ["bundled"]}
2424+r2d2_sqlite = { version = "0.27.0", features = ["bundled"] }
2525tabled = "0.18.0"
2626+regex = "1.10.5"