Skip to content

dovahcrow/rust-apex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-apex

This library provides Rust support for apex, letting you run rust on AWS Lambda without pain!

A example with apex configuration for quick start can be found at apex-example .

Here is a simple example for minimal scaffold:

extern crate failure;
#[macro_use]
extern crate serde_json;
#[macro_use]
extern crate rust_apex;

use serde_json::Value;
use rust_apex::Context;
use failure::Error;

lambda_entry!(handle);

fn handle(input: Value, _: Context) -> Result<Value, Error> {
    Ok(json!({
        "input": input
    }))
}

More running examples can be found in examples directory.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages