mirror of
https://github.com/actix/examples
synced 2025-06-28 18:00:37 +02:00
Remove unused deps found with https://github.com/est31/cargo-udeps (#232)
This commit is contained in:
committed by
Yuki Okushi
parent
5493df64e1
commit
ebdcdf8130
@ -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 {
|
||||
|
Reference in New Issue
Block a user