Skip to content

Commit 0a763ac

Browse files
committed
fix: main bin was renamed to bootsrap
1 parent 543a5a5 commit 0a763ac

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

rust-runtime/aws-smithy-http-server/examples/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ lambda_watch:
3030
cargo lambda watch
3131

3232
lambda_invoke:
33-
cargo lambda invoke lambda --data-file pokemon-service/tests/fixtures/example-apigw-request.json
33+
cargo lambda invoke pokemon-service-lambda --data-file pokemon-service/tests/fixtures/example-apigw-request.json
3434

3535
distclean: clean
3636
rm -rf $(SERVER_SDK_DST) $(CLIENT_SDK_DST) Cargo.lock

rust-runtime/aws-smithy-http-server/examples/pokemon-service/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ default-run = "pokemon-service"
1111
name = "pokemon-service-tls"
1212
path = "src/bin/pokemon-service-tls.rs"
1313

14+
[[bin]]
15+
name = "pokemon-service"
16+
path = "src/main.rs"
17+
18+
[[bin]]
19+
name = "pokemon-service-lambda"
20+
path = "src/lambda.rs"
21+
1422
[dependencies]
1523
async-stream = "0.3"
1624
clap = { version = "~3.2.1", features = ["derive"] }
@@ -46,11 +54,3 @@ hyper-rustls = { version = "0.23.0", features = ["http2"] }
4654
aws-smithy-client = { path = "../../../aws-smithy-client/", features = ["rustls"] }
4755
aws-smithy-http = { path = "../../../aws-smithy-http/" }
4856
pokemon-service-client = { path = "../pokemon-service-client/" }
49-
50-
[[bin]]
51-
name = "bootstrap"
52-
path = "src/main.rs"
53-
54-
[[bin]]
55-
name = "lambda"
56-
path = "src/lambda.rs"

0 commit comments

Comments
 (0)