hanabu / lambda-web

Run Rust web frameworks on AWS Lambda
MIT License
118 stars 38 forks source link

Question: can this be used with cargo-lambda, or are they incompatible? #15

Closed afparsons closed 1 year ago

afparsons commented 1 year ago

I am extremely new to both the Rust ecosystem and to AWS Lambda; please excuse my naivety.

In my two hours of research on how I would use Rust on AWS Lambda, I felt repeatedly steered toward cargo-lambda.

Should this crate be used in addition to or instead of cargo-lambda?

I'm tripped up with the handler function; it seems like cargo-lambda automatically sets up its idea of a handler function and lambda-web also provides a handler function (depending on the web framework being used). Does that mean that these two crates are incompatible?


This looks like a cool project, so I just wanted to extend my congratulations, even if I don't quite understand it all yet :sweat_smile:


EDIT: ah, wait, I might have figured it out; I'll update and potentially close this question soon.

tgandrews commented 1 year ago

Did you resolve this?

memark commented 1 year ago

They can definitely be used to together without much trouble. Suggest closing this issue.

afparsons commented 1 year ago

Thanks for your thoughts! I haven't looked at this in almost a year. Closing.