Added deps for using Diesel in Rocket

This commit is contained in:
Jef Roosens 2021-06-27 11:36:54 +02:00
parent 0326f6e0fd
commit 569e9c935b
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F
3 changed files with 93 additions and 2 deletions

View file

@ -1,3 +1,10 @@
fn main() {
println!("Hello, world!");
#[macro_use]
extern crate rocket;
#[macro_use]
extern crate diesel_migrations;
#[launch]
fn rocket() -> _ {
rocket::build()
}