Skip to content

Commit

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

* docs: v0.4.1

* chore: v0.4.1 examples
  • Loading branch information
chesedo authored Jul 27, 2022
1 parent 3b56216 commit a616e72
Show file tree
Hide file tree
Showing 21 changed files with 171 additions and 68 deletions.
179 changes: 141 additions & 38 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ edition = "2021"
[lib]

[dependencies]
shuttle-service = { version = "0.4.0", features = ["web-rocket"] }
shuttle-service = { version = "0.4.1", features = ["web-rocket"] }
rocket = "0.4.11"
```

Expand Down
8 changes: 4 additions & 4 deletions api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-api"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
publish = false

Expand Down Expand Up @@ -32,14 +32,14 @@ tonic = "0.7.2"
uuid = { version = "1.1.1", features = ["v4"] }

[dependencies.shuttle-common]
version = "0.4.0"
version = "0.4.1"
path = "../common"

[dependencies.shuttle-proto]
version = "0.4.0"
version = "0.4.1"
path = "../proto"

[dependencies.shuttle-service]
version = "0.4.0"
version = "0.4.1"
path = "../service"
features = ["loader", "secrets"]
6 changes: 3 additions & 3 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.4.0"
version = "0.4.1"
edition = "2021"
license = "Apache-2.0"
description = "A cargo command for the shuttle platform (https://www.shuttle.rs/)"
Expand Down Expand Up @@ -37,11 +37,11 @@ uuid = { version = "1.1.1", features = ["v4"] }
webbrowser = "0.7.1"

[dependencies.shuttle-common]
version = "0.4.0"
version = "0.4.1"
path = "../common"

[dependencies.shuttle-service]
version = "0.4.0"
version = "0.4.1"
path = "../service"
features = ["loader"]

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.4.0"
version = "0.4.1"
edition = "2021"
license = "Apache-2.0"
description = "Proc-macro code generator for the shuttle.rs service"
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.4.0"
version = "0.4.1"
edition = "2021"
license = "Apache-2.0"
description = "Common library for the shuttle platform (https://www.shuttle.rs/)"
Expand Down
2 changes: 1 addition & 1 deletion examples/axum/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ edition = "2021"

[dependencies]
axum = "0.5"
shuttle-service = { version = "0.4.0", features = ["web-axum"] }
shuttle-service = { version = "0.4.1", 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
Expand Up @@ -13,6 +13,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.4.0", features = ["web-axum"] }
shuttle-service = { version = "0.4.1", features = ["web-axum"] }
sync_wrapper = "0.1"
tokio = { version = "1", features = ["full"] }
2 changes: 1 addition & 1 deletion examples/poem/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ edition = "2021"

[dependencies]
poem = "1.3.35"
shuttle-service = { version = "0.4.0", features = ["web-poem"] }
shuttle-service = { version = "0.4.1", features = ["web-poem"] }
2 changes: 1 addition & 1 deletion examples/poem/postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ edition = "2021"
poem = "1.3.35"
serde = "1.0"
sqlx = { version = "0.5", features = ["runtime-tokio-native-tls", "postgres"] }
shuttle-service = { version = "0.4.0", features = ["sqlx-postgres", "secrets", "web-poem"] }
shuttle-service = { version = "0.4.1", features = ["sqlx-postgres", "secrets", "web-poem"] }
2 changes: 1 addition & 1 deletion examples/rocket/authentication/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,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.4.0", features = ["web-rocket"] }
shuttle-service = { version = "0.4.1", 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
Expand Up @@ -7,4 +7,4 @@ edition = "2021"

[dependencies]
rocket = "0.5.0-rc.1"
shuttle-service = { version = "0.4.0", features = ["web-rocket"] }
shuttle-service = { version = "0.4.1", features = ["web-rocket"] }
2 changes: 1 addition & 1 deletion examples/rocket/postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ edition = "2021"
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.4.0", features = ["sqlx-postgres", "secrets", "web-rocket"] }
shuttle-service = { version = "0.4.1", features = ["sqlx-postgres", "secrets", "web-rocket"] }
2 changes: 1 addition & 1 deletion examples/rocket/url-shortener/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ edition = "2021"
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.4.0", features = ["sqlx-postgres", "web-rocket"] }
shuttle-service = { version = "0.4.1", features = ["sqlx-postgres", "web-rocket"] }
nanoid = "0.4"
url ="2.2"
2 changes: 1 addition & 1 deletion examples/tide/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ edition = "2021"

[dependencies]
tide = "0.16.0"
shuttle-service = { version = "0.4.0", features = ["web-tide"] }
shuttle-service = { version = "0.4.1", features = ["web-tide"] }
2 changes: 1 addition & 1 deletion examples/tide/postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ crate-type = ["cdylib"]

[dependencies]
serde = { version = "1.0", features = ["derive"] }
shuttle-service = { version = "0.4.0", features = ["sqlx-aws-postgres", "web-tide"] }
shuttle-service = { version = "0.4.1", features = ["sqlx-aws-postgres", "web-tide"] }
sqlx = { version = "0.5", features = ["runtime-tokio-native-tls", "postgres"] }
tide = "0.16.0"
2 changes: 1 addition & 1 deletion examples/tower/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ edition = "2021"
[lib]

[dependencies]
shuttle-service = { version = "0.4.0", features = ["web-tower"] }
shuttle-service = { version = "0.4.1", features = ["web-tower"] }
tower = { version = "0.4", features = ["full"] }
hyper = { version = "0.14", features = ["full"] }
4 changes: 2 additions & 2 deletions proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-proto"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -10,7 +10,7 @@ prost = "0.10.4"
tonic = "0.7.2"

[dependencies.shuttle-common]
version = "0.4.0"
version = "0.4.1"
path = "../common"

[build-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions provisioner/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-provisioner"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
description = "Service responsible for provisioning and managing resources for services"
publish = false
Expand All @@ -22,7 +22,7 @@ tracing = "0.1.35"
tracing-subscriber = "0.3.11"

[dependencies.shuttle-proto]
version = "0.4.0"
version = "0.4.1"
path = "../proto"

[dev-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-service"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
license = "Apache-2.0"
description = "Service traits and macros to deploy on the shuttle platform (https://www.shuttle.rs/)"
Expand Down Expand Up @@ -37,7 +37,7 @@ version = "1"
features = ["tokio1"]

[dependencies.shuttle-codegen]
version = "0.4.0"
version = "0.4.1"
path = "../codegen"
optional = true

Expand All @@ -46,7 +46,7 @@ portpicker = { version = "0.1.1" }
uuid = { version = "1.1.1", features = ["v4"] }

[dependencies.shuttle-common]
version = "0.4.0"
version = "0.4.1"
path = "../common"

[features]
Expand Down
4 changes: 2 additions & 2 deletions service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
//! be a library crate with a `shuttle-service` dependency with the `web-rocket` feature on the `shuttle-service` dependency.
//!
//! ```toml
//! shuttle-service = { version = "0.4.0", features = ["web-rocket"] }
//! shuttle-service = { version = "0.4.1", features = ["web-rocket"] }
//! ```
//!
//! A boilerplate code for your rocket project can also be found in `src/lib.rs`:
Expand Down Expand Up @@ -101,7 +101,7 @@
//! Add the `sqlx-postgres` feature to the `shuttle-service` dependency, and add `sqlx` as a dependency with the `runtime-tokio-native-tls` and `postgres` features inside `Cargo.toml`:
//!
//! ```toml
//! shuttle-service = { version = "0.4.0", features = ["web-rocket", "sqlx-postgres"] }
//! shuttle-service = { version = "0.4.1", features = ["web-rocket", "sqlx-postgres"] }
//! sqlx = { version = "0.5", features = ["runtime-tokio-native-tls", "postgres"] }
//! ```
//!
Expand Down

0 comments on commit a616e72

Please sign in to comment.