aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to use Rocket 0.5.0-rc.1Harald Eilertsen2021-08-241-6/+3
|
* Add info about the event to the db and render landing page.Harald Eilertsen2020-08-251-0/+1
|
* Use Tera templates to render pages.Harald Eilertsen2020-08-221-1/+1
|
* Update deps, drop serde_derive.Harald Eilertsen2020-08-221-4/+3
| | | | | serde_derive is included by passing the 'derive' feature to serde instead.
* Add endpoint to fetch screenings from the database.Harald Eilertsen2019-04-081-1/+2
| | | | | | Not entirely happy about the way this turned out for now. A more ergonomic return type from the models::screenings::get_all() function will be investigated.
* Refactor tests to always load fixtures, and sync execution.Harald Eilertsen2019-04-021-0/+1
| | | | | | | Rust will run tests in parallel by default, which does not work too well with using db transactions as a means to isolate changes in the database between tests. So we have to run the database tests one at a time, thus the mutex.
* Actually fetch available rooms from the database.Harald Eilertsen2019-03-211-0/+6
|
* Use rocket_contrib's JsonValue as return type.Harald Eilertsen2019-03-041-1/+1
|
* Set up database and connection pool with rocket_contrib::databases.Harald Eilertsen2019-03-041-1/+6
| | | | | Set the env var DATABASE_URL before running the server. A .env file in the root of the project is also supported.
* Remove templates and dep on askama no longer needed.Harald Eilertsen2019-03-041-1/+0
|
* Use rocket_contrib StaticFiles module to serve static files.Harald Eilertsen2019-03-041-0/+1
| | | | | | | This also changes the structure of the app quite significantly. Instead if generating the html for the index, we simply provide a public/index.html static file instead. For now this seems to make sense, it may not hold in the long run, but that's for another time to worry about.
* Enable askama rocket integration.Harald Eilertsen2019-03-031-1/+1
| | | | Let's us return templates directly, and have rocket render it for us.
* Rename program to simply ramaskrik.Harald Eilertsen2019-03-021-1/+1
|
* Use askama for templates.Harald Eilertsen2019-03-021-0/+1
|
* Into space...Harald Eilertsen2019-03-021-0/+8