Skip to content

Commit e884ce3

Browse files
committed
Merge branch 'release/v1.1.0'
2 parents 46dd86f + 4fd4be3 commit e884ce3

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[package]
22
name = "routerify-query"
3-
version = "1.0.0"
3+
version = "1.1.0"
44
description = "A Routerify middleware which parses the request query string."
55
homepage = "https://github.com/routerify/routerify-query"
66
repository = "https://github.com/routerify/routerify-query"
7-
keywords = ["routerify", "hyper-rs", "middleware", "querystring"]
7+
keywords = ["routerify", "hyper-rs", "hyper", "middleware", "querystring"]
88
categories = ["asynchronous", "web-programming", "web-programming::http-server"]
99
authors = ["Rousan Ali <[email protected]>"]
1010
readme = "README.md"
1111
license = "MIT"
1212
edition = "2018"
1313

1414
[dependencies]
15-
routerify = "1.0"
15+
routerify = "1.1"
1616
hyper = "0.13"
1717
url = "2.1"
1818

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Add this to your `Cargo.toml`:
1515

1616
```toml
1717
[dependencies]
18-
routerify = "1.0"
19-
routerify-query = "1.0"
18+
routerify = "1.1"
19+
routerify-query = "1.1"
2020
```
2121

2222
## Example
@@ -55,7 +55,7 @@ async fn main() {
5555
let router = router();
5656

5757
// Create a Service from the router above to handle incoming requests.
58-
let service = RouterService::new(router);
58+
let service = RouterService::new(router).unwrap();
5959

6060
// The address on which the server will be listening.
6161
let addr = SocketAddr::from(([127, 0, 0, 1], 3001));

examples/example.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async fn main() {
3131
let router = router();
3232

3333
// Create a Service from the router above to handle incoming requests.
34-
let service = RouterService::new(router);
34+
let service = RouterService::new(router).unwrap();
3535

3636
// The address on which the server will be listening.
3737
let addr = SocketAddr::from(([127, 0, 0, 1], 3001));

examples/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fn router() -> Router<Body, Infallible> {
2222
async fn main() {
2323
let router = router();
2424

25-
let service = RouterService::new(router);
25+
let service = RouterService::new(router).unwrap();
2626

2727
let addr = SocketAddr::from(([127, 0, 0, 1], 3001));
2828

examples/test_stream_body.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fn router() -> Router<StreamBody, Infallible> {
3030
async fn main() {
3131
let router = router();
3232

33-
let service = RouterService::new(router);
33+
let service = RouterService::new(router).unwrap();
3434

3535
let addr = SocketAddr::from(([127, 0, 0, 1], 3001));
3636

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
//! let router = router();
3737
//!
3838
//! // Create a Service from the router above to handle incoming requests.
39-
//! let service = RouterService::new(router);
39+
//! let service = RouterService::new(router).unwrap();
4040
//!
4141
//! // The address on which the server will be listening.
4242
//! let addr = SocketAddr::from(([127, 0, 0, 1], 3001));

0 commit comments

Comments
 (0)