| Crates.io | armature-lambda |
| lib.rs | armature-lambda |
| version | 0.1.2 |
| created_at | 2025-12-26 21:35:51.77493+00 |
| updated_at | 2025-12-30 22:23:26.544358+00 |
| description | AWS Lambda runtime adapter for Armature applications |
| homepage | https://pegasusheavy.github.io/armature |
| repository | https://github.com/pegasusheavy/armature |
| max_upload_size | |
| id | 2006301 |
| size | 98,949 |
AWS Lambda runtime adapter for the Armature framework.
[dependencies]
armature-lambda = "0.1"
use armature_lambda::LambdaRuntime;
use armature_core::Application;
#[tokio::main]
async fn main() {
let app = Application::new()
.get("/", |_| async { Ok(HttpResponse::ok().with_text("Hello!")) });
LambdaRuntime::new(app).run().await;
}
// Handles API Gateway proxy events
let runtime = LambdaRuntime::api_gateway(app);
runtime.run().await;
# Install cargo-lambda
cargo install cargo-lambda
# Build
cargo lambda build --release
# Deploy
cargo lambda deploy my-function
MIT OR Apache-2.0