https://github.com/dovahcrow/rust-apex
https://github.com/dovahcrow/rust-apex
apex aws rust
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dovahcrow/rust-apex
- Owner: dovahcrow
- Created: 2016-09-12T02:06:12.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-04-04T00:29:46.000Z (about 8 years ago)
- Last Synced: 2025-04-13T00:42:56.370Z (about 1 year ago)
- Topics: apex, aws, rust
- Language: Rust
- Size: 562 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](https://github.com/apex/apex/tree/master/_examples/rust) .
Here is a simple example for minimal scaffold:
```rust
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 {
Ok(json!({
"input": input
}))
}
```
More running examples can be found in `examples` directory.