lamb-d 0.1.3

An AWS Lambda custom runtime for Dlang, written in D.


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, written from scratch in D.

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.

Attributions

  • @adamdrupe http2 from arsd: https://github.com/adamdruppe/arsd/blob/master/http2.d

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.1
Short URL:
lamb-d.dub.pm