Skip to content

Commit

Permalink
improvement: update Rocket content for 0.5 stable (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
sentinel1909 authored Nov 23, 2023
1 parent fac70e0 commit acddcc2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/rocket-jwt-authentication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ edition = "2021"
chrono = "0.4.23"
jsonwebtoken = { version = "8.1.1", default-features = false }
lazy_static = "1.4.0"
rocket = { version = "0.5.0-rc.4", features = ["json"] }
rocket = { version = "0.5.0", features = ["json"] }
serde = { version = "1.0.148", features = ["derive"] }
shuttle-rocket = "0.33.0"
shuttle-runtime = "0.33.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rocket-postgres.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ version = "0.1.0"
edition = "2021"

[dependencies]
rocket = { version = "0.5.0-rc.4", features = ["json"] }
rocket = { version = "0.5.0", features = ["json"] }
serde = "1.0.148"
shuttle-shared-db = { version = "0.33.0", features = ["postgres"] }
shuttle-rocket = "0.33.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rocket-static-files.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ edition = "2021"
publish = false

[dependencies]
rocket = "0.5.0-rc.4"
rocket = "0.5.0"
shuttle-rocket = "0.33.0"
shuttle-runtime = "0.33.0"
tokio = "1.26.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rocket.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ version = "0.1.0"
edition = "2021"

[dependencies]
rocket = "0.5.0-rc.4"
rocket = "0.5.0"
shuttle-rocket = "0.33.0"
shuttle-runtime = "0.33.0"
tokio = "1.26.0"
Expand Down
8 changes: 4 additions & 4 deletions tutorials/url-shortener.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ version = "0.1.0"
edition = "2021"

[dependencies]
rocket = "0.5.0-rc.4"
rocket = "0.5.0"
shuttle-rocket = { version = "0.33.0" }
shuttle-runtime = { version = "0.33.0" }
tokio = { version = "1.26.0" }
Expand All @@ -149,9 +149,9 @@ $ cargo shuttle deploy
Compiling tokio-util v0.6.9
Compiling multer v2.1.0
Compiling hyper v0.14.27
Compiling rocket_http v0.5.0-rc.4
Compiling rocket_codegen v0.5.0-rc.4
Compiling rocket v0.5.0-rc.4
Compiling rocket_http v0.5.0
Compiling rocket_codegen v0.5.0
Compiling rocket v0.5.0
Compiling shuttle-rocket v0.33.0
Compiling shuttle-runtime v0.33.0
Compiling url-shortener v0.1.0 (/opt/shuttle/crates/url-shortener)
Expand Down

0 comments on commit acddcc2

Please sign in to comment.