Skip to content

Commit

Permalink
fixed diesel warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
subhojit777 committed Jan 30, 2019
1 parent 8495f9f commit cdb3eee
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 43 deletions.
47 changes: 9 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -5,7 +5,7 @@ authors = ["Subhojit Paul <subhojitpaul21@gmail.com>"]

[dependencies]
actix-web = { version = "^0.7", features = ["ssl"] }
diesel = { version = "1.3.3", features = ["mysql", "chrono", "r2d2"] }
diesel = { version = "^1.4", features = ["mysql", "chrono", "r2d2"] }
dotenv = "0.13.0"
serde = "1.0.80"
serde_derive = "1.0.80"
Expand Down
4 changes: 0 additions & 4 deletions src/github.rs
@@ -1,17 +1,13 @@
use crate::AppState;
use crate::models;
use actix_web::actix;
use actix_web::client;
use actix_web::client::ClientResponse;
use actix_web::error::Error;
use actix_web::AsyncResponder;
use actix_web::FutureResponse;
use actix_web::HttpRequest;
use actix_web::HttpResponse;
use dotenv::dotenv;
use futures::Future;
use serde_derive::Deserialize;
use serde_derive::Serialize;
use std::env;

pub fn login_page(_: &HttpRequest<AppState>) -> HttpResponse {
Expand Down

0 comments on commit cdb3eee

Please sign in to comment.