mirror of
https://github.com/actix/examples
synced 2024-11-23 22:41:07 +01:00
Remove unused deps found with https://github.com/est31/cargo-udeps (#232)
This commit is contained in:
parent
5493df64e1
commit
ebdcdf8130
@ -9,7 +9,6 @@ workspace = ".."
|
|||||||
actix-rt = "1.0.0"
|
actix-rt = "1.0.0"
|
||||||
actix-web = "2.0.0"
|
actix-web = "2.0.0"
|
||||||
|
|
||||||
dotenv = "0.10"
|
|
||||||
env_logger = "0.6"
|
env_logger = "0.6"
|
||||||
failure = "0.1.1"
|
failure = "0.1.1"
|
||||||
futures = "0.3.1"
|
futures = "0.3.1"
|
||||||
|
@ -12,8 +12,6 @@
|
|||||||
// - POSTing json body
|
// - POSTing json body
|
||||||
// 3. chaining futures into a single response used by an async endpoint
|
// 3. chaining futures into a single response used by an async endpoint
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
extern crate validator_derive;
|
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
@ -27,6 +25,7 @@ use actix_web::{
|
|||||||
};
|
};
|
||||||
use futures::StreamExt;
|
use futures::StreamExt;
|
||||||
use validator::Validate;
|
use validator::Validate;
|
||||||
|
use validator_derive::Validate;
|
||||||
|
|
||||||
#[derive(Debug, Validate, Deserialize, Serialize)]
|
#[derive(Debug, Validate, Deserialize, Serialize)]
|
||||||
struct SomeData {
|
struct SomeData {
|
||||||
|
@ -7,7 +7,6 @@ edition = "2018"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
actix-rt = "1.0.0"
|
actix-rt = "1.0.0"
|
||||||
actix-web = { version="2.0.0", features=["openssl"] }
|
actix-web = { version="2.0.0", features=["openssl"] }
|
||||||
actix-multipart = "0.2.0"
|
|
||||||
actix-service = "1.0.0"
|
actix-service = "1.0.0"
|
||||||
bytes = "0.5.3"
|
bytes = "0.5.3"
|
||||||
env_logger = "0.6.1"
|
env_logger = "0.6.1"
|
||||||
@ -16,5 +15,3 @@ serde = { version = "^1.0", features = ["derive"] }
|
|||||||
serde_derive = "1.0.90"
|
serde_derive = "1.0.90"
|
||||||
serde_json = "1.0.39"
|
serde_json = "1.0.39"
|
||||||
time = "0.1.42"
|
time = "0.1.42"
|
||||||
validator = "0.8.0"
|
|
||||||
validator_derive = "0.8.0"
|
|
||||||
|
@ -7,7 +7,6 @@ edition = "2018"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
actix-web = "2.0.0"
|
actix-web = "2.0.0"
|
||||||
actix-rt = "1.0.0"
|
actix-rt = "1.0.0"
|
||||||
env_logger = "0.6"
|
|
||||||
askama = "0.8"
|
askama = "0.8"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
@ -10,6 +10,5 @@ actix-web = "2.0.0"
|
|||||||
actix-cors = "0.2.0"
|
actix-cors = "0.2.0"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
dotenv = "0.10"
|
|
||||||
env_logger = "0.6"
|
env_logger = "0.6"
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
|
Loading…
Reference in New Issue
Block a user