actix-web
                                
                                 actix-web copied to clipboard
                                
                                    actix-web copied to clipboard
                            
                            
                            
                        Feature request: WebAssembly for Docker WasmEdge
As suggested in issue https://github.com/actix/actix-web/issues/340, I'm opening a new request.
In the past years WASM started to gain popularity and now it is possible to easily build a WASM executable from Rust.
The following article provides instructions and a simple repository for building a WASM image for Docker to run https://wasmedge.org/docs/start/build-and-run/docker_wasm/
There're also a few articles that provide examples of http-server in Docker WASM
- https://blog.logrocket.com/rust-microservices-server-side-webassembly/
- https://blog.kubesimplify.com/embed-http-servers-in-wasm-with-rust-and-csharp
Motivation: WASM image size is much lighter than the same rust program with minimal Linux image (as mentioned in the WasmEdge article).
Would that be possible to build an actix-web application into WASM and what obstacles are currently present in achieving it?