Skip to content

Commit

Permalink
minor: remove surf::Serialize
Browse files Browse the repository at this point in the history
  • Loading branch information
ZuoTiJia authored and roseboy-liu committed Feb 20, 2023
1 parent 9005601 commit 33606b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions meta/src/limiter/local_request_limiter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use std::sync::Arc;
use async_trait::async_trait;
use config::RequestLimiterConfig;
use limiter_bucket::CountBucket;
use serde::Deserialize;
use surf::http::convert::Serialize;
use serde::{Deserialize, Serialize};

use crate::client::MetaHttpClient;
use crate::error::{MetaError, MetaResult};
Expand Down
3 changes: 1 addition & 2 deletions meta/src/limiter/remote_request_limiter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ use std::collections::HashMap;

use config::RequestLimiterConfig;
use limiter_bucket::RateBucket;
use serde::Deserialize;
use surf::http::convert::Serialize;
use serde::{Deserialize, Serialize};

use crate::limiter::limiter_kind::RequestLimiterKind;

Expand Down

0 comments on commit 33606b9

Please sign in to comment.