Skip to content

Sample Axum web server that can run on either AWS Lambda or regular server environment

Notifications You must be signed in to change notification settings

hanabu/axum-lambda-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Axum, lambda_http integration sample

I previously wrote the lambda_web crate, but recent axum and lambda_http can be integrated directly.

This repository is a sample that uses axum and lambda-http. By separating the generation of axum::Router into a library crate, it can run on Lambda, a regular server, or integration tests. I recommend such implementation as it makes your code portable.

This sample is based on axum=0.7, hyper=1, lambda_http=0.9 combination. If you need older axum=0.6 sample, you can find it on axum06 branch.

About

Sample Axum web server that can run on either AWS Lambda or regular server environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages