1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
This commit is contained in:
Roman Frołow 2020-01-12 16:25:52 +01:00 committed by Yuki Okushi
parent 5493df64e1
commit ebdcdf8130
5 changed files with 1 additions and 8 deletions

View File

@ -9,7 +9,6 @@ workspace = ".."
actix-rt = "1.0.0"
actix-web = "2.0.0"
dotenv = "0.10"
env_logger = "0.6"
failure = "0.1.1"
futures = "0.3.1"

View File

@ -12,8 +12,6 @@
// - POSTing json body
// 3. chaining futures into a single response used by an async endpoint
#[macro_use]
extern crate validator_derive;
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
@ -27,6 +25,7 @@ use actix_web::{
};
use futures::StreamExt;
use validator::Validate;
use validator_derive::Validate;
#[derive(Debug, Validate, Deserialize, Serialize)]
struct SomeData {

View File

@ -7,7 +7,6 @@ edition = "2018"
[dependencies]
actix-rt = "1.0.0"
actix-web = { version="2.0.0", features=["openssl"] }
actix-multipart = "0.2.0"
actix-service = "1.0.0"
bytes = "0.5.3"
env_logger = "0.6.1"
@ -16,5 +15,3 @@ serde = { version = "^1.0", features = ["derive"] }
serde_derive = "1.0.90"
serde_json = "1.0.39"
time = "0.1.42"
validator = "0.8.0"
validator_derive = "0.8.0"

View File

@ -7,7 +7,6 @@ edition = "2018"
[dependencies]
actix-web = "2.0.0"
actix-rt = "1.0.0"
env_logger = "0.6"
askama = "0.8"
[build-dependencies]

View File

@ -10,6 +10,5 @@ actix-web = "2.0.0"
actix-cors = "0.2.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
dotenv = "0.10"
env_logger = "0.6"
futures = "0.3"