Skip to content

Commit c1e286c

Browse files
committed
update with more sensible package names
1 parent 93365e7 commit c1e286c

File tree

8 files changed

+23
-23
lines changed

8 files changed

+23
-23
lines changed

Cargo.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[workspace]
2-
members = ["serverless-aws-rust", "serverless-aws-rust-http"]
2+
members = ["hello", "world"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# serverless AWS Rust multi-fuction template
22

3-
A sample template for bootstraping a multi function [Rustlang AWS Lambda](https://github.com/awslabs/aws-lambda-rust-runtime/) applications with ⚡ serverless framework ⚡.
3+
A sample template for bootstraping a multi function [Rustlang AWS Lambda](https://github.com/awslabs/aws-lambda-rust-runtime/) applications with ⚡ serverless framework ⚡ using [Cargo workspaces](https://doc.rust-lang.org/1.30.0/book/second-edition/ch14-03-cargo-workspaces.html)
44

55
## ✨ features
66

serverless-aws-rust/Cargo.toml renamed to hello/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "serverless-aws-rust"
2+
name = "hello"
33
version = "0.1.0"
44
edition = "2018"
55

File renamed without changes.

serverless.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ functions:
5050
# handler value syntax is `{cargo-package-name}.{bin-name}`
5151
# or `{cargo-package-name}` for short when you are building a
5252
# default bin for a given package.
53-
handler: serverless-aws-rust
53+
handler: hello
5454
# The following are a few example events you can configure
5555
# NOTE: Please make sure to change your handler code to work with those events
5656
# Check the event documentation for details
@@ -85,7 +85,7 @@ functions:
8585
# variable2: value2
8686

8787
world:
88-
handler: serverless-aws-rust-http
88+
handler: world
8989
events:
9090
- http:
9191
path: /

serverless-aws-rust-http/Cargo.toml renamed to world/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "serverless-aws-rust-http"
2+
name = "world"
33
version = "0.1.0"
44
edition = "2018"
55

File renamed without changes.

0 commit comments

Comments
 (0)