Skip to content

Commit

Permalink
chore: v0.3.3 (#210)
Browse files Browse the repository at this point in the history
* chore: v0.3.3

* docs: v0.3.3

* bug: tf images causing kernel panics
chesedo authored Jun 10, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 2f9344e commit a21c456
Showing 18 changed files with 25 additions and 25 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ crate-type = ["cdylib"]

[dependencies]
rocket = "0.5.0-rc.1"
shuttle-service = { version = "0.3.2", features = ["web-rocket"] }
shuttle-service = { version = "0.3.3", features = ["web-rocket"] }
```


4 changes: 2 additions & 2 deletions api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "api"
version = "0.1.1"
version = "0.1.2"
edition = "2021"

[dependencies]
@@ -39,6 +39,6 @@ version = "0.3.1"
path = "../common"

[dependencies.shuttle-service]
version = "0.3.2"
version = "0.3.3"
path = "../service"
features = ["loader", "secrets"]
4 changes: 2 additions & 2 deletions cargo-shuttle/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-shuttle"
version = "0.3.1"
version = "0.3.2"
edition = "2021"
license = "Apache-2.0"
description = "A cargo command for the shuttle platform (https://www.shuttle.rs/)"
@@ -39,7 +39,7 @@ version = "0.3.1"
path = "../common"

[dependencies.shuttle-service]
version = "0.3.2"
version = "0.3.3"
path = "../service"
features = ["loader"]

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.3.0"
version = "0.3.1"
edition = "2021"
license = "Apache-2.0"
description = "Proc-macro code generator for the shuttle.rs service"
2 changes: 1 addition & 1 deletion examples/axum/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
@@ -10,5 +10,5 @@ crate-type = ["cdylib"]

[dependencies]
axum = "0.5"
shuttle-service = { version = "0.3.2", features = ["web-axum"] }
shuttle-service = { version = "0.3.3", features = ["web-axum"] }
sync_wrapper = "0.1"
2 changes: 1 addition & 1 deletion examples/axum/websocket/Cargo.toml
Original file line number Diff line number Diff line change
@@ -16,6 +16,6 @@ hyper = { version = "0.14", features = ["client", "http2"] }
hyper-tls = "0.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
shuttle-service = { version = "0.3.2", features = ["web-axum"] }
shuttle-service = { version = "0.3.3", features = ["web-axum"] }
sync_wrapper = "0.1"
tokio = { version = "1", features = ["full"] }
2 changes: 1 addition & 1 deletion examples/axum/websocket/index.html
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@
const button = document.querySelector("button");

function track() {
const websocket = new WebSocket(`ws://${window.location.host}/websocket`);
const websocket = new WebSocket(`wss://${window.location.host}/websocket`);

websocket.onopen = () => {
console.log("connection opened");
2 changes: 1 addition & 1 deletion examples/rocket/authentication/Cargo.toml
Original file line number Diff line number Diff line change
@@ -14,4 +14,4 @@ jsonwebtoken = {version = "8", default-features = false }
lazy_static = "1.4"
rocket = {version = "0.5.0-rc.1", features = ["json"] }
serde = {version = "1.0", features = ["derive"] }
shuttle-service = { version = "0.3.2", features = ["web-rocket"] }
shuttle-service = { version = "0.3.3", features = ["web-rocket"] }
2 changes: 1 addition & 1 deletion examples/rocket/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
@@ -10,4 +10,4 @@ crate-type = ["cdylib"]

[dependencies]
rocket = "0.5.0-rc.1"
shuttle-service = { version = "0.3.2", features = ["web-rocket"] }
shuttle-service = { version = "0.3.3", features = ["web-rocket"] }
2 changes: 1 addition & 1 deletion examples/rocket/postgres/Cargo.toml
Original file line number Diff line number Diff line change
@@ -12,4 +12,4 @@ crate-type = ["cdylib"]
rocket = { version = "0.5.0-rc.1", features = ["json"] }
serde = "1.0"
sqlx = { version = "0.5", features = ["runtime-tokio-native-tls", "postgres"] }
shuttle-service = { version = "0.3.2", features = ["sqlx-postgres", "secrets", "web-rocket"] }
shuttle-service = { version = "0.3.3", features = ["sqlx-postgres", "secrets", "web-rocket"] }
2 changes: 1 addition & 1 deletion examples/tide/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
@@ -10,4 +10,4 @@ crate-type = ["cdylib"]

[dependencies]
tide = "0.16.0"
shuttle-service = { version = "0.3.2", features = ["web-tide"] }
shuttle-service = { version = "0.3.3", features = ["web-tide"] }
2 changes: 1 addition & 1 deletion examples/tower/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
@@ -9,6 +9,6 @@ crate-type = ["cdylib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
shuttle-service = { version = "0.3.2", features = ["web-tower"] }
shuttle-service = { version = "0.3.3", features = ["web-tower"] }
tower = { version = "0.4", features = ["full"] }
hyper = { version = "0.14", features = ["full"] }
2 changes: 1 addition & 1 deletion examples/url-shortener/Cargo.toml
Original file line number Diff line number Diff line change
@@ -12,6 +12,6 @@ crate-type = ["cdylib"]
rocket = { version = "0.5.0-rc.1", features = ["json"] }
serde = "1.0"
sqlx = { version = "0.5", features = ["runtime-tokio-native-tls", "postgres"] }
shuttle-service = { version = "0.3.2", features = ["sqlx-postgres", "web-rocket"] }
shuttle-service = { version = "0.3.3", features = ["sqlx-postgres", "web-rocket"] }
nanoid = "0.4"
url ="2.2"
4 changes: 2 additions & 2 deletions service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-service"
version = "0.3.2"
version = "0.3.3"
edition = "2021"
license = "Apache-2.0"
description = "Service traits and macros to deploy on the shuttle platform (https://www.shuttle.rs/)"
@@ -29,7 +29,7 @@ tokio = { version = "1.19.2", features = ["rt", "rt-multi-thread"] }
tower = { version = "0.4.12", features = ["make"], optional = true }

[dependencies.shuttle-codegen]
version = "0.3.0"
version = "0.3.1"
path = "../codegen"
optional = true

4 changes: 2 additions & 2 deletions service/src/lib.rs
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@
//! by adding the `web-rocket` feature on the `shuttle-service` dependency.
//!
//! ```toml
//! shuttle-service = { version = "0.3.2", features = ["web-rocket"] }
//! shuttle-service = { version = "0.3.3", features = ["web-rocket"] }
//! ```
//!
//! Now replace `src/lib.rs` with the following content.
@@ -111,7 +111,7 @@
//! Add the `sqlx-postgres` feature to the `shuttle-service` dependency inside `Cargo.toml`:
//!
//! ```toml
//! shuttle-service = { version = "0.3.2", features = ["web-rocket", "sqlx-postgres"] }
//! shuttle-service = { version = "0.3.3", features = ["web-rocket", "sqlx-postgres"] }
//! ```
//!
//! Now update the `#[shuttle_service::main]` function to take in a `PgPool`:
2 changes: 1 addition & 1 deletion terraform/modules/shuttle/misc/cloud-config.yaml
Original file line number Diff line number Diff line change
@@ -16,9 +16,9 @@ system_info:

# Make sure files are written every time
cloud_final_modules:
- package-update-upgrade-install
- [runcmd, always]
- [write-files, always]
- package-update-upgrade-install
- fan
- landscape
- lxd
2 changes: 1 addition & 1 deletion terraform/modules/shuttle/service.tf
Original file line number Diff line number Diff line change
@@ -62,7 +62,7 @@ data "aws_ami" "ubuntu" {

filter {
name = "name"
values = ["ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-*"]
values = ["ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20220511"]
}

filter {

0 comments on commit a21c456

Please sign in to comment.