Skip to content

Commit 80053a5

Browse files
refactor(shuttle): update to 0.21.0
1 parent bef343f commit 80053a5

4 files changed

Lines changed: 23 additions & 23 deletions

File tree

Cargo.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/shuttle/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ publish = false
1010
# internal
1111
api-lib = { workspace = true }
1212
# shuttle
13-
shuttle-runtime = "0.20.0"
14-
shuttle-actix-web = "0.20.0"
13+
shuttle-runtime = "0.21.0"
14+
shuttle-actix-web = "0.21.0"
1515
# db
1616
# shuttle-aws-rds = { version = "0.18.0", features = ["postgres"] }
17-
shuttle-shared-db = { version = "0.20.0", features = ["postgres"] }
17+
shuttle-shared-db = { version = "0.21.0", features = ["postgres"] }
1818
sqlx = { workspace = true }
1919
# static files
20-
shuttle-static-folder = "0.20.0"
20+
shuttle-static-folder = "0.21.0"
2121
# actix
2222
actix-web = { workspace = true }
2323
actix-files = { workspace = true }

docs/src/backend/05_working_with_a_database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ Go to the `Cargo.toml` file in the `api > shuttle` folder and add the following
2020
[dependencies]
2121
...
2222
# database
23-
shuttle-shared-db = { version = "0.20.0", features = ["postgres"] }
23+
shuttle-shared-db = { version = "0.21.0", features = ["postgres"] }
2424
sqlx = { version = "0.6.3", default-features = false, features = [ "runtime-actix-native-tls", "macros", "postgres", "uuid", "chrono", "json" ] }
2525
```
2626

2727
```admonish title="Cargo Dependencies"
2828
If you want to learn more about how to add dependencies to your `Cargo.toml` file, please refer to the [Cargo Docs](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html).
2929
```
3030

31-
We are adding the [shuttle-shared-db](https://docs.rs/shuttle-shared-db/0.20.0/shuttle_shared_db/) dependency to get the database connection injected into our code and the [SQLx](https://github.com/launchbadge/sqlx) dependency to be able to use the database connection.
31+
We are adding the [shuttle-shared-db](https://docs.rs/shuttle-shared-db/0.21.0/shuttle_shared_db/) dependency to get the database connection injected into our code and the [SQLx](https://github.com/launchbadge/sqlx) dependency to be able to use the database connection.
3232

3333
Note that the [SQLx](https://github.com/launchbadge/sqlx) dependency has a lot of features enabled. We will use them later on in the project.
3434

docs/src/backend/24_serving_static_files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Let's add the `shuttle-static-folder` and the [actix-files](https://docs.rs/acti
2020
[dependencies]
2121
# static
2222
actix-files = "0.6.2"
23-
shuttle-static-folder = "0.20.0"
23+
shuttle-static-folder = "0.21.0"
2424
```
2525

2626
## Serving the static files

0 commit comments

Comments
 (0)