Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: v0.21.0 #1078

Merged
merged 2 commits into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ body:
attributes:
label: Version
description: What version of `cargo-shuttle` are you running (`cargo shuttle --version`)?
placeholder: "v0.20.0"
placeholder: "v0.21.0"
validations:
required: true
- type: dropdown
Expand Down
22 changes: 11 additions & 11 deletions Cargo.lock

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

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ exclude = [
]

[workspace.package]
version = "0.20.0"
version = "0.21.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/shuttle-hq/shuttle"

# https://doc.rust-lang.org/cargo/reference/workspaces.html#the-workspacedependencies-table
[workspace.dependencies]
shuttle-codegen = { path = "codegen", version = "0.20.0" }
shuttle-common = { path = "common", version = "0.20.0" }
shuttle-proto = { path = "proto", version = "0.20.0" }
shuttle-service = { path = "service", version = "0.20.0" }
shuttle-codegen = { path = "codegen", version = "0.21.0" }
shuttle-common = { path = "common", version = "0.21.0" }
shuttle-proto = { path = "proto", version = "0.21.0" }
shuttle-service = { path = "service", version = "0.21.0" }

anyhow = "1.0.66"
async-trait = "0.1.58"
Expand Down
2 changes: 1 addition & 1 deletion admin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-admin"
version = "0.20.0"
version = "0.21.0"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion cargo-shuttle/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-shuttle"
version = "0.20.0"
version = "0.21.0"
edition.workspace = true
license.workspace = true
repository.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions cargo-shuttle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ This should generate the following dependency in `Cargo.toml`:

```toml
rocket = "0.5.0-rc.2"
shuttle-rocket = { version = "0.20.0" }
shuttle-runtime = { version = "0.20.0" }
shuttle-rocket = { version = "0.21.0" }
shuttle-runtime = { version = "0.21.0" }
tokio = { version = "1.26.0" }
```

Expand Down
2 changes: 1 addition & 1 deletion codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-codegen"
version = "0.20.0"
version = "0.21.0"
edition.workspace = true
license.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-common"
version = "0.20.0"
version = "0.21.0"
edition.workspace = true
license.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion deployer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-deployer"
version = "0.20.0"
version = "0.21.0"
edition.workspace = true
license.workspace = true
description = "Service with instances created per project for handling the compilation, loading, and execution of Shuttle services"
Expand Down
2 changes: 1 addition & 1 deletion deployer/tests/deploy_layer/bind-panic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ edition = "2021"
[workspace]

[dependencies]
shuttle-runtime = "0.20.0"
shuttle-runtime = "0.21.0"
tokio = "1.22"
2 changes: 1 addition & 1 deletion deployer/tests/deploy_layer/main-panic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ edition = "2021"
[workspace]

[dependencies]
shuttle-runtime = "0.20.0"
shuttle-runtime = "0.21.0"
tokio = "1.22"
2 changes: 1 addition & 1 deletion deployer/tests/deploy_layer/self-stop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ edition = "2021"
[workspace]

[dependencies]
shuttle-runtime = "0.20.0"
shuttle-runtime = "0.21.0"
tokio = "1.22"
2 changes: 1 addition & 1 deletion deployer/tests/deploy_layer/sleep-async/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ edition = "2021"
[workspace]

[dependencies]
shuttle-runtime = "0.20.0"
shuttle-runtime = "0.21.0"
tokio = { version = "1.0", features = ["time"]}
2 changes: 1 addition & 1 deletion examples
Submodule examples updated 40 files
+95 −11 README.md
+2 −2 actix-web/hello-world/Cargo.toml
+3 −3 actix-web/postgres/Cargo.toml
+3 −3 actix-web/websocket-actorless/Cargo.toml
+2 −2 axum/hello-world/Cargo.toml
+3 −3 axum/static-files/Cargo.toml
+3 −3 axum/static-next-server/Cargo.toml
+3 −3 axum/turso/Cargo.toml
+3 −3 axum/websocket/Cargo.toml
+2 −2 axum/with-state/Cargo.toml
+1 −1 custom/none/Cargo.toml
+2 −2 custom/request-scheduler/Cargo.toml
+5 −5 fullstack-templates/saas/backend/Cargo.toml
+1 −1 next/hello-world/Cargo.toml
+2 −2 poem/hello-world/Cargo.toml
+3 −3 poem/mongodb/Cargo.toml
+3 −3 poem/postgres/Cargo.toml
+3 −3 poise/hello-world/Cargo.toml
+2 −2 rocket/authentication/Cargo.toml
+3 −3 rocket/dyn-templates/Cargo.toml
+0 −0 rocket/dyn-templates/README.md
+0 −0 rocket/dyn-templates/Shuttle.toml
+0 −0 rocket/dyn-templates/src/main.rs
+0 −0 rocket/dyn-templates/templates/index.html.hbs
+2 −2 rocket/hello-world/Cargo.toml
+3 −3 rocket/persist/Cargo.toml
+0 −15 rocket/persist/README.md
+3 −3 rocket/postgres/Cargo.toml
+3 −3 rocket/secrets/Cargo.toml
+3 −3 rocket/url-shortener/Cargo.toml
+2 −2 rocket/workspace/hello-world/Cargo.toml
+2 −2 salvo/hello-world/Cargo.toml
+3 −3 serenity/hello-world/Cargo.toml
+4 −4 serenity/postgres/Cargo.toml
+2 −2 thruster/hello-world/Cargo.toml
+3 −3 thruster/postgres/Cargo.toml
+2 −2 tide/hello-world/Cargo.toml
+3 −3 tide/postgres/Cargo.toml
+2 −2 tower/hello-world/Cargo.toml
+2 −2 warp/hello-world/Cargo.toml
2 changes: 1 addition & 1 deletion gateway/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-gateway"
version = "0.20.0"
version = "0.21.0"
edition.workspace = true
license.workspace = true
publish = false
Expand Down
4 changes: 2 additions & 2 deletions resources/aws-rds/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-aws-rds"
version = "0.20.0"
version = "0.21.0"
edition = "2021"
license = "Apache-2.0"
description = "Plugin to provision AWS RDS resources"
Expand All @@ -10,7 +10,7 @@ keywords = ["shuttle-service", "rds"]
async-trait = "0.1.56"
paste = "1.0.7"
serde = { version = "1.0.148", features = ["derive"] }
shuttle-service = { path = "../../service", version = "0.20.0" }
shuttle-service = { path = "../../service", version = "0.21.0" }
sqlx = { version = "0.6.2", features = ["runtime-tokio-native-tls"] }

[features]
Expand Down
4 changes: 2 additions & 2 deletions resources/persist/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-persist"
version = "0.20.0"
version = "0.21.0"
edition = "2021"
license = "Apache-2.0"
description = "Plugin for persist objects"
Expand All @@ -10,5 +10,5 @@ keywords = ["shuttle-service", "persistence"]
async-trait = "0.1.56"
bincode = "1.2.1"
serde = { version = "1.0.0", features = ["derive"] }
shuttle-service = { path = "../../service", version = "0.20.0" }
shuttle-service = { path = "../../service", version = "0.21.0" }
thiserror = "1.0.32"
4 changes: 2 additions & 2 deletions resources/secrets/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-secrets"
version = "0.20.0"
version = "0.21.0"
edition = "2021"
license = "Apache-2.0"
description = "Plugin to for managing secrets on shuttle"
Expand All @@ -9,4 +9,4 @@ keywords = ["shuttle-service", "secrets"]
[dependencies]
async-trait = "0.1.56"
serde = { version = "1.0.148", features = ["derive"] }
shuttle-service = { path = "../../service", version = "0.20.0" }
shuttle-service = { path = "../../service", version = "0.21.0" }
4 changes: 2 additions & 2 deletions resources/shared-db/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-shared-db"
version = "0.20.0"
version = "0.21.0"
edition = "2021"
license = "Apache-2.0"
description = "Plugin for managing shared databases on shuttle"
Expand All @@ -10,7 +10,7 @@ keywords = ["shuttle-service", "database"]
async-trait = "0.1.56"
mongodb = { version = "2.3.0", optional = true }
serde = { version = "1.0.148", features = ["derive"] }
shuttle-service = { path = "../../service", version = "0.20.0" }
shuttle-service = { path = "../../service", version = "0.21.0" }
sqlx = { version = "0.6.2", optional = true }

[features]
Expand Down
4 changes: 2 additions & 2 deletions resources/static-folder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-static-folder"
version = "0.20.0"
version = "0.21.0"
edition = "2021"
license = "Apache-2.0"
description = "Plugin to get a static folder at runtime on shuttle"
Expand All @@ -11,7 +11,7 @@ async-trait = "0.1.56"
dunce = "1.0.3"
fs_extra = "1.3.0"
serde = { version = "1.0.148", features = ["derive"] }
shuttle-service = { path = "../../service", version = "0.20.0" }
shuttle-service = { path = "../../service", version = "0.21.0" }
tracing = "0.1.37"

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions resources/turso/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-turso"
version = "0.20.0"
version = "0.21.0"
edition = "2021"
license = "Apache-2.0"
description = "Plugin to obtain a client connected to a Turso database"
Expand All @@ -10,7 +10,7 @@ keywords = ["shuttle-service", "turso"]
async-trait = "0.1.56"
libsql-client = { version = "=0.30.1" }
serde = { version = "1.0.148", features = ["derive"] }
shuttle-service = { path = "../../service", version = "0.20.0", default-features = false }
shuttle-service = { path = "../../service", version = "0.21.0", default-features = false }
url = { version = "2.3.1", features = ["serde"] }


Expand Down
2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-runtime"
version = "0.20.0"
version = "0.21.0"
edition.workspace = true
license.workspace = true
description = "Runtime to start and manage any service that runs on shuttle"
Expand Down
6 changes: 3 additions & 3 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
//! be a binary crate with a few dependencies including `shuttle-runtime` and `shuttle-axum`.
//!
//! ```toml
//! shuttle-runtime = "0.20.0"
//! shuttle-runtime = "0.21.0"
//! axum = "0.6.10"
//! shuttle-axum = "0.20.0"
//! shuttle-axum = "0.21.0"
//! tokio = "1.26"
//! ```
//!
Expand Down Expand Up @@ -113,7 +113,7 @@
//! `runtime-tokio-native-tls` and `postgres` features inside `Cargo.toml`:
//!
//! ```toml
//! shuttle-shared-db = { version = "0.20.0", features = ["postgres"] }
//! shuttle-shared-db = { version = "0.21.0", features = ["postgres"] }
//! sqlx = { version = "0.6.2", features = ["runtime-tokio-native-tls", "postgres"] }
//! ```
//!
Expand Down
2 changes: 1 addition & 1 deletion service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-service"
version = "0.20.0"
version = "0.21.0"
edition.workspace = true
license.workspace = true
repository.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions services/shuttle-actix-web/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-actix-web"
version = "0.20.0"
version = "0.21.0"
edition = "2021"
license = "Apache-2.0"
description = "Service implementation to run an actix webserver on shuttle"
Expand All @@ -10,7 +10,7 @@ keywords = ["shuttle-service", "actix"]

[dependencies]
actix-web = { version = "4.3.1" }
shuttle-runtime = { path = "../../runtime", version = "0.20.0" }
shuttle-runtime = { path = "../../runtime", version = "0.21.0" }
num_cpus = "1.15.0"

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions services/shuttle-axum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-axum"
version = "0.20.0"
version = "0.21.0"
edition = "2021"
license = "Apache-2.0"
description = "Service implementation to run an axum webserver on shuttle"
Expand All @@ -10,7 +10,7 @@ keywords = ["shuttle-service", "axum"]

[dependencies]
axum = { version = "0.6.10" }
shuttle-runtime = { path = "../../runtime", version = "0.20.0" }
shuttle-runtime = { path = "../../runtime", version = "0.21.0" }

[dev-dependencies]
tokio = { version = "1.26.0", features = ["macros", "rt-multi-thread"] }
Loading