# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "lambda-web" version = "0.2.1" authors = ["Hanabusa Masahiro"] exclude = ["/docker/"] description = "Run Rust web frameworks on AWS Lambda" readme = "README.md" keywords = [ "lambda", "actix-web", "axum", "rocket", "warp", ] categories = ["web-programming::http-server"] license = "MIT" repository = "https://github.com/hanabu/lambda-web" [package.metadata.docs.rs] all-features = true [profile.release] opt-level = "s" lto = "fat" codegen-units = 1 [[example]] name = "actix" required-features = ["actix4"] [[example]] name = "axum" required-features = ["hyper"] [[example]] name = "rocket" required-features = ["rocket05"] [[example]] name = "warp" required-features = ["hyper"] [dependencies.actix-http] version = "3" optional = true default-features = false [dependencies.actix-service] version = "2" optional = true [dependencies.actix-web] version = "4" features = [ "cookies", "macros", ] optional = true default-features = false [dependencies.base64] version = "0.13" [dependencies.brotli] version = "3" features = ["std"] optional = true [dependencies.hyper] version = "0.14" features = [] optional = true default-features = false [dependencies.lambda_runtime] version = "0.7" [dependencies.percent-encoding] version = "2" [dependencies.rocket] version = "0.5.0-rc.2" optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dev-dependencies.axum] version = "0.6" features = ["tokio"] default-features = false [dev-dependencies.tokio] version = "1" features = ["macros"] [dev-dependencies.tower] version = "0.4" [dev-dependencies.warp] version = "0.3.3" default-features = false [features] actix4 = [ "actix-web", "actix-http", "actix-service", ] br = ["brotli"] default = ["br"] rocket05 = ["rocket"]