lamb-d 0.1.2

An AWS Lambda Layer for Dlang.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Overview

An AWS Lambda Runtime for Dlang

Building

  • Install the dependences: sh ./setupexternaldeps.sh
  • Add your lambda implementation into bootstrap.d
  • type: dub --compiler=gdc or dub --compiler=ldc2

Testing

For verification of your Lamb-D in a local serverless style, try:

  • sh ./setenvfakelambdaenv.sh
  • dub test

TODO: Add some better testing facilities.

Deploying

  • Create an AWS Lambda with a Custom Runtime
  • Run the packager: sh ./packager.sh
  • Copy your lambda.zip into your AWS Lambda instance on AWS. TODO: Add some more details on the setup.

Inspirations

  • Cramda, a Crystal language based custom runtime https://github.com/lambci/crambda
  • Nim AWS Lambda custom runtime https://github.com/lambci/awslambda.nim
Authors:
  • truedat101
Dependencies:
openssl
Versions:
0.1.3 2019-Nov-06
0.1.2 2019-Nov-06
0.1.1 2019-Nov-05
0.1.0 2019-Nov-05
~master 2019-Nov-06
Show all 5 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 8 downloads total

Score:
0.0
Short URL:
lamb-d.dub.pm