Skip to content

Commit

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

* chore: resources v0.7.0

* docs: v0.7.0

* tests: v0.7.0

* misc: publish secrets first

* tests: fix warp test (case)
  • Loading branch information
chesedo authored Oct 17, 2022
1 parent d8180d8 commit 5d2215b
Show file tree
Hide file tree
Showing 44 changed files with 86 additions and 180 deletions.
26 changes: 17 additions & 9 deletions Cargo.lock

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

8 changes: 4 additions & 4 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.6.0"
version = "0.7.0"
edition = "2021"
license = "Apache-2.0"
description = "A cargo command for the shuttle platform (https://www.shuttle.rs/)"
Expand Down Expand Up @@ -40,15 +40,15 @@ uuid = { version = "1.1.2", features = ["v4"] }
webbrowser = "0.7.1"

[dependencies.shuttle-common]
version = "0.6.0"
version = "0.7.0"
path = "../common"

[dependencies.shuttle-secrets]
version = "0.6.0"
version = "0.7.0"
path = "../resources/secrets"

[dependencies.shuttle-service]
version = "0.6.0"
version = "0.7.0"
path = "../service"
features = ["loader"]

Expand Down
2 changes: 1 addition & 1 deletion cargo-shuttle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ $ cargo shuttle init --rocket my-rocket-app

This should generate the following dependency in `Cargo.toml`:
```toml
shuttle-service = { version = "0.6.0", features = ["web-rocket"] }
shuttle-service = { version = "0.7.0", features = ["web-rocket"] }
```

The following boilerplate code should be generated into `src/lib.rs`:
Expand Down
2 changes: 1 addition & 1 deletion cargo-shuttle/tests/integration/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ async fn warp_hello_world() {
.await
.unwrap();

assert_eq!(request_text, "Hello, world!");
assert_eq!(request_text, "Hello, World!");
}

#[tokio::test(flavor = "multi_thread")]
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.6.0"
version = "0.7.0"
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.6.0"
version = "0.7.0"
edition = "2021"
license = "Apache-2.0"
description = "Common library for the shuttle platform (https://www.shuttle.rs/)"
Expand Down
8 changes: 4 additions & 4 deletions deployer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-deployer"
version = "0.6.0"
version = "0.7.0"
edition = "2021"
description = "Service with instances created per project for handling the compilation, loading, and execution of Shuttle services"

Expand Down Expand Up @@ -42,15 +42,15 @@ tracing-subscriber = { version = "0.3.11", features = ["env-filter"] }
uuid = { version = "1.1.2", features = ["v4"] }

[dependencies.shuttle-common]
version = "0.6.0"
version = "0.7.0"
path = "../common"

[dependencies.shuttle-proto]
version = "0.6.0"
version = "0.7.0"
path = "../proto"

[dependencies.shuttle-service]
version = "0.6.0"
version = "0.7.0"
path = "../service"
features = ["loader"]

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 @@ -11,4 +11,4 @@ crate-type = ["cdylib"]
[workspace]

[dependencies]
shuttle-service = "0.6.0"
shuttle-service = "0.7.0"
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 @@ -11,4 +11,4 @@ crate-type = ["cdylib"]
[workspace]

[dependencies]
shuttle-service = "0.6.0"
shuttle-service = "0.7.0"
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 @@ -11,4 +11,4 @@ crate-type = ["cdylib"]
[workspace]

[dependencies]
shuttle-service = "0.6.0"
shuttle-service = "0.7.0"
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 @@ -12,4 +12,4 @@ crate-type = ["cdylib"]

[dependencies]
tokio = { version = "1.0", features = ["time"]}
shuttle-service = "0.6.0"
shuttle-service = "0.7.0"
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.6.0", features = ["web-axum"] }
shuttle-service = { version = "0.7.0", 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.6.0", features = ["web-axum"] }
shuttle-service = { version = "0.7.0", features = ["web-axum"] }
sync_wrapper = "0.1"
tokio = { version = "1", features = ["full"] }
9 changes: 0 additions & 9 deletions examples/custom/main-custom/Cargo.toml

This file was deleted.

93 changes: 0 additions & 93 deletions examples/custom/main-custom/src/lib.rs

This file was deleted.

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.6.0", features = ["web-poem"] }
shuttle-service = { version = "0.7.0", features = ["web-poem"] }
4 changes: 2 additions & 2 deletions examples/poem/mongodb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ mongodb = "2.3.0"
poem = "1.3.35"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
shuttle-service = { version = "0.6.0", features = ["web-poem"] }
shuttle-shared-db = { version = "0.6.0", features = ["mongodb"] }
shuttle-service = { version = "0.7.0", features = ["web-poem"] }
shuttle-shared-db = { version = "0.7.0", features = ["mongodb"] }
4 changes: 2 additions & 2 deletions examples/poem/postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ edition = "2021"
[dependencies]
poem = "1.3.35"
serde = "1.0"
shuttle-service = { version = "0.6.0", features = ["web-poem"] }
shuttle-shared-db = { version = "0.6.0", features = ["postgres"] }
shuttle-service = { version = "0.7.0", features = ["web-poem"] }
shuttle-shared-db = { version = "0.7.0", features = ["postgres"] }
sqlx = { version = "0.6", features = ["runtime-tokio-native-tls", "postgres"] }
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.2", features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
shuttle-service = { version = "0.6.0", features = ["web-rocket"] }
shuttle-service = { version = "0.7.0", 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.2"
shuttle-service = { version = "0.6.0", features = ["web-rocket"] }
shuttle-service = { version = "0.7.0", features = ["web-rocket"] }
4 changes: 2 additions & 2 deletions examples/rocket/persist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ edition = "2021"
[dependencies]
rocket = { version = "0.5.0-rc.1", features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
shuttle-persist = "0.6.0"
shuttle-service = { version = "0.6.0", features = ["web-rocket"] }
shuttle-persist = "0.7.0"
shuttle-service = { version = "0.7.0", features = ["web-rocket"] }
4 changes: 2 additions & 2 deletions examples/rocket/postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ edition = "2021"
[dependencies]
rocket = { version = "0.5.0-rc.1", features = ["json"] }
serde = "1.0"
shuttle-service = { version = "0.6.0", features = ["web-rocket"] }
shuttle-shared-db = { version = "0.6.0", features = ["postgres"] }
shuttle-service = { version = "0.7.0", features = ["web-rocket"] }
shuttle-shared-db = { version = "0.7.0", features = ["postgres"] }
sqlx = { version = "0.6", features = ["runtime-tokio-native-tls", "postgres"] }
4 changes: 2 additions & 2 deletions examples/rocket/secrets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ edition = "2021"
[dependencies]
anyhow = "1.0.62"
rocket = { version = "0.5.0-rc.1", features = ["json"] }
shuttle-secrets = "0.6.0"
shuttle-service = { version = "0.6.0", features = ["web-rocket"] }
shuttle-secrets = "0.7.0"
shuttle-service = { version = "0.7.0", features = ["web-rocket"] }
4 changes: 2 additions & 2 deletions examples/rocket/url-shortener/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
nanoid = "0.4"
rocket = { version = "0.5.0-rc.2", features = ["json"] }
serde = "1.0"
shuttle-service = { version = "0.6.0", features = ["web-rocket"] }
shuttle-shared-db = { version = "0.6.0", features = ["postgres"] }
shuttle-service = { version = "0.7.0", features = ["web-rocket"] }
shuttle-shared-db = { version = "0.7.0", features = ["postgres"] }
sqlx = { version = "0.6", features = ["runtime-tokio-native-tls", "postgres"] }
url = "2.2"
2 changes: 1 addition & 1 deletion examples/salvo/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ edition = "2021"

[dependencies]
salvo = "0.34.3"
shuttle-service = { version = "0.6.0", features = ["web-salvo"] }
shuttle-service = { version = "0.7.0", features = ["web-salvo"] }
Loading

0 comments on commit 5d2215b

Please sign in to comment.