Skip to content

Commit

Permalink
chore(deps): update axum requirement from 0.7 to 0.8 (#43)
Browse files Browse the repository at this point in the history
Updates the requirements on [axum](https://github.com/tokio-rs/axum) to permit the latest version.
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/axum/commits)

---
updated-dependencies:
- dependency-name: axum
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jan 7, 2025
1 parent 38cb5b1 commit 575ec08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation = "https://github.com/samply/spot"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
axum = "0.7"
axum = "0.8"
clap = { version = "4", features = ["env", "derive"] }
serde = { version = "1", features = ["serde_derive"] }
serde_json = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async fn main() {
let mut app = Router::new()
.route("/health", get(handler_health))
.route("/beam", post(handle_create_beam_task))
.route("/beam/:task_id", get(handle_listen_to_beam_tasks));
.route("/beam/{task_id}", get(handle_listen_to_beam_tasks));

let state = if let Some(url) = CONFIG.catalogue_url.clone() {
let extended_json = catalogue::spawn_thing(url, CONFIG.prism_url.clone());
Expand Down

0 comments on commit 575ec08

Please sign in to comment.