1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

update deps

This commit is contained in:
Nikolay Kim
2019-12-15 23:07:17 +06:00
parent e166c66f0b
commit 22c7d747c2
31 changed files with 64 additions and 66 deletions

View File

@ -6,8 +6,8 @@ workspace = ".."
edition = "2018"
[dependencies]
actix-rt = "1.0.0-alpha.3"
actix-web = "2.0.0-alpha.3"
actix-rt = "1.0.0"
actix-web = "2.0.0-alpha.6"
bytes = "0.4"
env_logger = "0.6"

View File

@ -10,11 +10,9 @@ extern crate diesel;
extern crate serde_derive;
use actix_web::{error, middleware, web, App, Error, HttpResponse, HttpServer};
use bytes::BytesMut;
use diesel::prelude::*;
use diesel::r2d2::{self, ConnectionManager};
use dotenv;
use futures::StreamExt;
mod models;
mod schema;