File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11use clap:: ArgMatches ;
2+ use serde:: Deserialize ;
23use std:: env;
34use std:: error:: Error ;
45use std:: fs;
Original file line number Diff line number Diff line change 1414) ]
1515#![ cfg_attr( test, allow( clippy:: result_unwrap_used) ) ]
1616
17- extern crate chrono;
18- #[ macro_use]
19- extern crate clap;
2017#[ macro_use]
2118extern crate diesel;
22- extern crate dotenv;
23- extern crate heck;
24- extern crate migrations_internals;
2519#[ macro_use]
26- extern crate serde;
27- extern crate tempfile;
28- extern crate toml;
29- #[ cfg( feature = "url" ) ]
30- extern crate url;
20+ extern crate clap;
3121
3222mod config;
3323
34- #[ cfg( feature = "barrel-migrations" ) ]
35- extern crate barrel;
36-
3724mod database_error;
3825#[ macro_use]
3926mod database;
@@ -59,7 +46,7 @@ use crate::migrations::MigrationError;
5946use migrations_internals:: TIMESTAMP_FORMAT ;
6047
6148fn main ( ) {
62- use self :: dotenv:: dotenv;
49+ use dotenv:: dotenv;
6350 dotenv ( ) . ok ( ) ;
6451
6552 let matches = cli:: build_cli ( ) . get_matches ( ) ;
You can’t perform that action at this time.
0 commit comments