Skip to content

Commit

Permalink
Update Rust template (#180)
Browse files Browse the repository at this point in the history
Signed-off-by: slinkydeveloper <francescoguard@gmail.com>
  • Loading branch information
slinkydeveloper authored Aug 22, 2024
1 parent f576c48 commit 30d9c5c
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 7 deletions.
55 changes: 50 additions & 5 deletions templates/rust/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 templates/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ version = "0.0.1"
edition = "2021"

[dependencies]
restate-sdk = "0.1"
restate-sdk = "0.2"
tokio = { version = "1", features = ["full"] }
tracing-subscriber = "0.3"
2 changes: 1 addition & 1 deletion templates/rust/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async fn main() {
// To enable logging
tracing_subscriber::fmt::init();

HyperServer::new(
HttpServer::new(
Endpoint::builder()
.with_service(GreeterImpl.serve())
.build(),
Expand Down

0 comments on commit 30d9c5c

Please sign in to comment.