[package]
name = "lambda-web"
version = "0.1.5"
authors = ["Hanabusa Masahiro"]
description = "Run Rust web frameworks on AWS Lambda"
edition = "2018"
readme = "README.md"
repository = "https://github.com/hanabu/lambda-web"
license = "MIT"
keywords = ["lambda", "actix-web", "rocket", "warp"]
categories = ["web-programming::http-server"]
exclude = ["/docker/"]
[package.metadata.docs.rs]
all-features = true
[features]
default = ["br"]
actix4 = ["actix-web", "actix-http", "actix-service"]
rocket05 = ["rocket"]
warp03 = ["warp"]
br = ["brotli"]
[dependencies]
lamedh_runtime = "0.3.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
base64 = "0.13"
percent-encoding = "2"
actix-web = { version = "4.0.0-beta.7", default-features = false, features = ["cookies"], optional = true }
actix-http = { version = "3.0.0-beta.7", default-features = false, optional = true }
actix-service = { version = "2", optional = true }
rocket = { version = "0.5.0-rc.1", default-features = false, optional = true }
warp = { version = "0.3.1", default-features = false, optional = true }
brotli = { version = "3", features = ["std"], optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["macros"] }
[[example]]
name = "actix"
required-features = ["actix4"]
[[example]]
name = "rocket"
required-features = ["rocket05"]
[[example]]
name = "warp"
required-features = ["warp03"]