Skip to content

Commit

Permalink
Bump the trillium group with 3 updates (#3197)
Browse files Browse the repository at this point in the history
* Bump the trillium group with 3 updates

Bumps the trillium group with 3 updates: [trillium](https://github.com/trillium-rs/trillium), [trillium-api](https://github.com/trillium-rs/trillium) and [trillium-head](https://github.com/trillium-rs/trillium).


Updates `trillium` from 0.2.19 to 0.2.20
- [Release notes](https://github.com/trillium-rs/trillium/releases)
- [Commits](trillium-rs/trillium@trillium-v0.2.19...trillium-v0.2.20)

Updates `trillium-api` from 0.2.0-rc.11 to 0.2.0-rc.12
- [Release notes](https://github.com/trillium-rs/trillium/releases)
- [Commits](trillium-rs/trillium@trillium-api-v0.2.0-rc.11...trillium-api-v0.2.0-rc.12)

Updates `trillium-head` from 0.2.2 to 0.2.3
- [Release notes](https://github.com/trillium-rs/trillium/releases)
- [Commits](trillium-rs/trillium@trillium-head-v0.2.2...trillium-head-v0.2.3)

---
updated-dependencies:
- dependency-name: trillium
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: trillium
- dependency-name: trillium-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: trillium
- dependency-name: trillium-head
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: trillium
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix deprecation warnings

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Cook <[email protected]>
  • Loading branch information
dependabot[bot] and divergentdave authored Jun 4, 2024
1 parent d3368a8 commit 490ce83
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ rstest = "0.18.2"
testcontainers = "0.16.7"
thiserror = "1.0"
tokio = { version = "1.38", features = ["full", "tracing"] }
trillium = "0.2.19"
trillium-api = { version = "0.2.0-rc.11", default-features = false }
trillium = "0.2.20"
trillium-api = { version = "0.2.0-rc.12", default-features = false }
trillium-caching-headers = "0.2.3"
trillium-head = "0.2.2"
trillium-head = "0.2.3"
trillium-opentelemetry = "0.8.0"
trillium-router = "0.3.6"
trillium-rustls = "0.7.0"
Expand Down
2 changes: 1 addition & 1 deletion aggregator/src/aggregator/http_handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct ErrorCode(&'static str);
impl Handler for Error {
async fn run(&self, mut conn: Conn) -> Conn {
let error_code = self.error_code();
conn.set_state(ErrorCode(error_code));
conn.insert_state(ErrorCode(error_code));
let conn = match self {
Error::InvalidConfiguration(_) => conn.with_status(Status::InternalServerError),
Error::MessageDecode(_) => conn
Expand Down
2 changes: 1 addition & 1 deletion aggregator_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl<H: Handler> InstrumentedHandler<H> {
let route = conn.route().expect("no route in conn").to_string();
let method = conn.method();
let span = info_span!("endpoint", route, %method);
conn.set_state(InstrumentedHandlerSpan(span.clone()));
conn.insert_state(InstrumentedHandlerSpan(span.clone()));
self.0.run(conn).instrument(span).await
}

Expand Down

0 comments on commit 490ce83

Please sign in to comment.