aws-lambda-rust-runtime

A Rust runtime for AWS Lambda (by awslabs)

Aws-lambda-rust-runtime Alternatives

Similar projects and alternatives to aws-lambda-rust-runtime

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better aws-lambda-rust-runtime alternative or higher similarity.

aws-lambda-rust-runtime reviews and mentions

Posts with mentions or reviews of aws-lambda-rust-runtime. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-27.
  • Cognito Starter Kit with Rust and Lambda
    2 projects | dev.to | 27 Jan 2024
    I've been writing more and more about the benefits of Rust and Lambda quite a bit lately and I plan to take advantage of them in this customizer. Additionally, I've leveraged the Lambda Runtime project that includes data structures for the Lambda Events that I'll encounter while working with these payloads.
  • Rust and Lambda
    2 projects | dev.to | 14 Jan 2024
    The Lambda Rust Runtime project bridges that gap between SDK support and enhanced developer experience. Now this code IS flagged as experimental as it is subject to change. Didn't I just say above that I don't like experimental software in production? For something like a critical SDK into AWS, yes. But for something that is mostly data structures and working with different Lambda events, I don't have an issue. I'm comfortable with recommending builders look into this repository. I've also been fortunate to contribute to it and believe that the libraries included will make builder's lives easier. End of the day, if the experimental piece is a hold-up, a Lambda with Rust will be fine without it.
  • Customize Cognito Access Token with Rust
    1 project | dev.to | 29 Dec 2023
    If you are building Rust applications that are deployed in Lambdas, it's well worth your time to check out this AWS project. And nestled inside that repository is a Lambda Events crate that helps with the serde/deserde of different payloads to be encountered when running Lambdas.
  • AWS Support for Rust on Lambda - Concerns?
    2 projects | /r/rust | 3 May 2023
    Feel free to take look at the GitHub repo and ask any questions you have there, we're always happy to help in what we can: https://github.com/awslabs/aws-lambda-rust-runtime
  • Learn Rust 101 – A guide to aid you in your journey of becoming a Rustacean
    2 projects | news.ycombinator.com | 7 Apr 2023
    Rust on Lambda's using containers as the deployment artifact are also very good, i'd say a perfect match. Low artifact size, low cpu+memory usage, fast execution. I think AWS must be using increasingly using Rust on Lambda internally from the talks I've seen them publish and the work gone in to https://github.com/awslabs/aws-lambda-rust-runtime.

    For simple REST API's there's not much extra effort in using Rust once you are familiar.

  • Rust on AWS Lambda?
    2 projects | /r/rust | 8 Feb 2023
    Check out the official AWS Lambda Rust project https://github.com/awslabs/aws-lambda-rust-runtime. It has a bunch of examples and we’ll designed. I got up and running knowing minimal Rust very quickly.
  • Rust on Lambda Interest?
    3 projects | /r/rust | 18 Jan 2023
    The official https://github.com/awslabs/aws-lambda-rust-runtime seems well architected.
  • State of Rust for web backends
    11 projects | /r/rust | 20 Dec 2022
    Hi, maybe check out https://github.com/awslabs/aws-lambda-rust-runtime there's some examples in there.. But essentially you can build a Lambda function and deploy to your AWS account with this toolset.
  • API Gateway to a Lambda function using Lambda proxy and non-proxy)integration, with OpenAPI specs
    2 projects | dev.to | 2 Nov 2022
    use aws_lambda_events::apigw::{ ApiGatewayCustomAuthorizerRequestTypeRequest, ApiGatewayCustomAuthorizerResponse, ApiGatewayCustomAuthorizerPolicy, IamPolicyStatement, }; use lambda_runtime::{run, service_fn, Error, LambdaEvent}; use serde_json::json; #[tokio::main] async fn main() -> Result<(), Error> { tracing_subscriber::fmt() .with_ansi(false) .without_time() .with_max_level(tracing_subscriber::filter::LevelFilter::INFO) .init(); run(service_fn(function_handler)).await } pub async fn function_handler(event: LambdaEvent) -> Result { // do something with the event payload let method_arn = event.payload.method_arn.unwrap(); // for example we could use the authorization header if let Some(token) = event.payload.headers.get("authorization") { // do something with the token // my custom logic return Ok(custom_authorizer_response( "ALLOW", "some_principal", &method_arn, )); } Ok(custom_authorizer_response( &"DENY".to_string(), "", &method_arn)) } pub fn custom_authorizer_response(effect: &str, principal: &str, method_arn: &str) -> ApiGatewayCustomAuthorizerResponse { let stmt = IamPolicyStatement { action: vec!["execute-api:Invoke".to_string()], resource: vec![method_arn.to_owned()], effect: Some(effect.to_owned()), }; let policy = ApiGatewayCustomAuthorizerPolicy { version: Some("2012-10-17".to_string()), statement: vec![stmt], }; ApiGatewayCustomAuthorizerResponse { principal_id: Some(principal.to_owned()), policy_document: policy, context: json!({ "email": principal }), // https://github.com/awslabs/aws-lambda-rust-runtime/discussions/548 usage_identifier_key: None, } }
  • Rust for microservices, AWS lambda functions, etc?
    2 projects | /r/rust | 15 Oct 2022
    FYI, there’s an offical rust “runtime” in the works: https://github.com/awslabs/aws-lambda-rust-runtime
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 25 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic aws-lambda-rust-runtime repo stats
30
3,165
8.9
3 days ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com