Skip to content

Commit

Permalink
update change log. (#899)
Browse files Browse the repository at this point in the history
  • Loading branch information
fakeshadow authored Jan 19, 2024
1 parent 2907d57 commit 626b182
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
7 changes: 6 additions & 1 deletion http-rate/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# unreleased version 0.1.1
# unreleased version 0.1.2

# 0.1.1

## fix
- fix build on rust `1.75`
7 changes: 4 additions & 3 deletions http-rate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ pub use error::TooManyRequests;
pub use quota::Quota;
pub use snapshot::RateSnapshot;

use core::net::{IpAddr, SocketAddr};

use std::sync::Arc;
use std::{
net::{IpAddr, SocketAddr},
sync::Arc,
};

use http::header::{HeaderMap, HeaderName, FORWARDED};

Expand Down
3 changes: 2 additions & 1 deletion web/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# unreleased version 0.2.0
# unreleased version 0.2.2

# 0.2.1
## Add
- `RateLimit` middleware with optional feature `rate-limit`.
- implement `Responder` trait for `serde_json::Value`.
Expand Down
2 changes: 1 addition & 1 deletion web/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xitca-web"
version = "0.2.0"
version = "0.2.1"
edition = "2021"
license = "Apache-2.0"
description = "an async web framework"
Expand Down
2 changes: 1 addition & 1 deletion web/src/handler/impls.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use core::net::SocketAddr;
use std::net::SocketAddr;

use crate::{
body::ResponseBody,
Expand Down

0 comments on commit 626b182

Please sign in to comment.