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

Add Rust shuttle.rs template #183

Merged
merged 3 commits into from
Sep 10, 2024
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
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
typescript-deno-hello-world.zip
go-hello-world.zip
rust-hello-world.zip
rust-shuttle-hello-world.zip
kotlin-hello-world-lambda-cdk.zip
go-tour-of-restate.zip
java-tour-of-restate.zip
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
components: clippy
rustflags: ""
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: ./.tools/run_rust_tests.sh

Expand Down
1 change: 1 addition & 0 deletions .tools/prepare_release_zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ create_release_zip templates/cloudflare-worker typescript-cloudflare-worker-hell
create_release_zip templates/deno typescript-deno-hello-world
create_release_zip templates/go go-hello-world
create_release_zip templates/rust rust-hello-world
create_release_zip templates/rust-shuttle rust-shuttle-hello-world
create_release_zip templates/typescript-lambda-cdk typescript-hello-world-lambda-cdk
create_release_zip templates/kotlin-gradle-lambda-cdk kotlin-hello-world-lambda-cdk
create_release_zip templates/python python-hello-world
Expand Down
1 change: 1 addition & 0 deletions .tools/run_rust_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ function cargo_build_check() {
}

cargo_build_check $PROJECT_ROOT/templates/rust
cargo_build_check $PROJECT_ROOT/templates/rust-shuttle
1 change: 1 addition & 0 deletions .tools/update_rust_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ function bump_rust_sdk() {
}

bump_rust_sdk $PROJECT_ROOT/templates/rust
bump_rust_sdk $PROJECT_ROOT/templates/rust-shuttle
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,10 @@ challenges.

### Rust

| Type | Name / Link |
|-----------|-------------------------------------------------|
| Templates | [Rust Template](templates/rust) |
| Type | Name / Link |
|-----------|------------------------------------------------------|
| Templates | [Rust Template](templates/rust) |
| Templates | [Rust - Shuttle.rs Template](templates/rust-shuttle) |

## Joining the community

Expand Down
11 changes: 11 additions & 0 deletions templates/rust-shuttle/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Generated by Cargo
# will have compiled files and executables
debug/
target/

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

Loading
Loading