1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#![deny(missing_docs)] //! # srvrls - a lightweight serverless framework //! //!  //! //! We built this library to simplify building applications that use AWS API Gateway //! as a proxy for AWS Lambda. //! //! This library has opinions, strong ones, very possibly not your own. //! Our design priorities here are simple: //! //! - reduce needed boilerplate in serverless applications //! - provide opinionated defaults to otherwise open questions (more on this later) //! - provide decoupling between the serverless function provider and the application logic //! (keeping open the option of supporting Google or Azure functions in the future) //! /// Application provides the AWS Lambda wrapper and response handling. pub mod application; /// Components holds the utility structs including the library error `SrvrlsError`. pub mod components; /// Response provides the mappings from the library response and error to AWS Lambda events. pub mod response; /// Request provides a simplified input request struct with opinionated getter methods. pub mod request;