Skip to content

Commit

Permalink
prepare actix-router release 0.5.0-beta.4
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Jan 4, 2022
1 parent 86df295 commit 0533626
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ actix-utils = "3.0.0"
actix-tls = { version = "3.0.0", default-features = false, optional = true }

actix-http = "3.0.0-beta.17"
actix-router = "0.5.0-beta.3"
actix-router = "0.5.0-beta.4"
actix-web-codegen = "0.5.0-beta.6"

ahash = "0.7"
Expand Down
3 changes: 3 additions & 0 deletions actix-router/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changes

## Unreleased - 2021-xx-xx


## 0.5.0-beta.4 - 2022-01-04
- `PathDeserializer` now decodes all percent encoded characters in dynamic segments. [#2566]
- Minimum supported Rust version (MSRV) is now 1.54.

Expand Down
2 changes: 1 addition & 1 deletion actix-router/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "actix-router"
version = "0.5.0-beta.3"
version = "0.5.0-beta.4"
authors = [
"Nikolay Kim <[email protected]>",
"Ali MJ Al-Nasrawy <[email protected]>",
Expand Down
4 changes: 2 additions & 2 deletions actix-web-codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ edition = "2018"
proc-macro = true

[dependencies]
actix-router = "0.5.0-beta.4"
proc-macro2 = "1"
quote = "1"
syn = { version = "1", features = ["full", "parsing"] }
proc-macro2 = "1"
actix-router = "0.5.0-beta.3"

[dev-dependencies]
actix-macros = "0.2.3"
Expand Down
1 change: 1 addition & 0 deletions docs/graphs/web-only.dot
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ digraph {

"actix-web" -> { "actix-web-codegen" "actix-http" "actix-router" }
"awc" -> { "actix-http" }
"actix-web-codegen" -> { "actix-router" }
"actix-web-actors" -> { "actix" "actix-web" "actix-http" }
"actix-multipart" -> { "actix-web" }
"actix-files" -> { "actix-web" }
Expand Down
4 changes: 2 additions & 2 deletions src/types/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::{
};

use bytes::BytesMut;
use futures_core::{ready, stream::Stream as _};
use futures_core::{ready, Stream as _};
use serde::{de::DeserializeOwned, Serialize};

use actix_http::Payload;
Expand Down Expand Up @@ -515,7 +515,7 @@ mod tests {
.to_http_parts();

let s = Json::<MyObject>::from_request(&req, &mut pl).await;
let resp = HttpResponse::from_error(s.err().unwrap());
let resp = HttpResponse::from_error(s.unwrap_err());
assert_eq!(resp.status(), StatusCode::BAD_REQUEST);

let body = body::to_bytes(resp.into_body()).await.unwrap();
Expand Down

0 comments on commit 0533626

Please sign in to comment.