File tree Expand file tree Collapse file tree 5 files changed +11
-3
lines changed
Expand file tree Collapse file tree 5 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## [ Unreleased]
88
9+ ### Changed
10+
11+ - Updated ` thiserror ` to ` 2.0 `
12+
913## [ 0.4.2] - 2025-04-08
1014
1115### Added
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ async-trait = "0.1.51"
2323http = " 1.0.0"
2424reqwest = { version = " 0.12.0" , default-features = false }
2525serde = " 1.0.106"
26- thiserror = " 1.0.21 "
26+ thiserror = " 2.0 "
2727tower-service = " 0.3.0"
2828
2929[dev-dependencies ]
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## [ Unreleased]
88
9+ ### Changed
10+
11+ - Updated ` thiserror ` to ` 2.0 `
12+
913## [ 0.7.0] - 2024-11-08
1014
1115### Breaking changes
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ futures = "0.3.0"
2222http = " 1.0"
2323reqwest = { version = " 0.12.0" , default-features = false }
2424retry-policies = " 0.4"
25- thiserror = " 1.0.61 "
25+ thiserror = " 2.0 "
2626tracing = { version = " 0.1.26" , optional = true }
2727
2828[target .'cfg(not(target_arch = "wasm32"))' .dependencies ]
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ impl SimpleServer {
126126
127127 /// Parses the request line and checks that it contains the method, uri and http_version parts.
128128 /// It does not check if the content of the checked parts is correct. It just checks the format (it contains enough parts) of the request.
129- fn parse_request_line ( request : & str ) -> Result < Request , Box < dyn Error > > {
129+ fn parse_request_line ( request : & str ) -> Result < Request < ' _ > , Box < dyn Error > > {
130130 let mut parts = request. split_whitespace ( ) ;
131131
132132 let method = parts. next ( ) . ok_or ( "Method not specified" ) ?;
You can’t perform that action at this time.
0 commit comments