-
Notifications
You must be signed in to change notification settings - Fork 1
This repo does not work anymore with Netlify #2
Comments
Unfortunately I'm going to be deprecating this repo as Netlify has not continued support in a substantial way. The examples will be converted to AWS Lambda examples which will work correctly with cargo-lambda: https://www.cargo-lambda.info/ AWS has committed to supporting Rust and their SDKs have hit 1.0 in the last few months -- https://aws.amazon.com/blogs/developer/announcing-general-availability-of-the-aws-sdk-for-rust/ so that's where I'm going to focus my serverless work moving forward. |
Thanks for the update. For some funny reason looks like after I deployed this repo with the custom build in the build.sh file previous deployments that worked on Netlify no longer work. Thanks |
Netlify has been changing their environments without really notifying anyone, so its very possible that they did that again and as a result older functions got re-deployed into a non-working environment. Another big trip up that currently exists is that if you use a recent version of Rust and build in You can pass the heuristic if you build in debug mode (without the --release flag), but you'll get bigger, slower applications because all of the debug info is included. |
Thanks for the information. Thanks. |
I use Fly.io and it works very well and has been stable for me for a while now. You will have to write a Dockerfile, but here's an example one that I've used before (given a project called FROM ubuntu:22.04
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
COPY target/release/api /usr/local/bin/api
WORKDIR /opt
CMD ["api"] |
netlify has semi-officially said they won't be working on the rust support and the relevant issues in the cli repo have been closed without a fix so I'm going to archive this repo and the corresponding workshops and focus on lambda and other platforms in the future. |
Saw your video on Youtube and then cloned the repo and deployed on Netlify.
However the repo does not work.
Are there any updates?
The text was updated successfully, but these errors were encountered: