Added deps for using Diesel in Rocket
This commit is contained in:
parent
0326f6e0fd
commit
569e9c935b
3 changed files with 93 additions and 2 deletions
11
src/main.rs
11
src/main.rs
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue