Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Drop the lib. | Harald Eilertsen | 2018-01-11 | 1 | -86/+0 |
| | | | | | | The misc stuff from the lib root was moved to the utils module (terrible name, it's meant to be temporary.) The modules under the lib has been moved directly under the app. | ||||
* | Order and cosmetics on extern crate declarations. | Harald Eilertsen | 2017-12-30 | 1 | -8/+5 |
| | |||||
* | Don't import modules in macro. | Harald Eilertsen | 2017-12-23 | 1 | -10/+5 |
| | | | | | Didn't work well when macro was invoked more than once for each source file. Use full references to all symbols instead. | ||||
* | Move implement_responder_for macro into crate. | Harald Eilertsen | 2017-12-23 | 1 | -0/+25 |
| | | | | | This is so we can use it in other modules too. Besides it makes things slightly cleaner. | ||||
* | Derive FromForm for models::Post. | Harald Eilertsen | 2017-11-21 | 1 | -0/+3 |
| | | | | | This allows us to pass in forms that will translate into proper form objects. | ||||
* | Use serde_json to create json response when requested by client. | Harald Eilertsen | 2017-11-20 | 1 | -0/+3 |
| | |||||
* | Add schema for posts, and display them on index page. | Harald Eilertsen | 2017-10-01 | 1 | -2/+5 |
| | |||||
* | Get database connection on request | Harald Eilertsen | 2017-10-01 | 1 | -0/+33 |
| | |||||
* | Move database setup to lib.rs. | Harald Eilertsen | 2017-10-01 | 1 | -0/+27 |