fasttime
fasttime copied to clipboard
⏱️ A Fastly serverless compute@edge runtime for running wasm applications locally
Can you add support for running multiple webassembly simultaneously?
👋 thanks for building this tool! I had to spend a couple of minutes learning how to install the tool since is not in crates.io and the branch is not...
Not compiling with current versions: ``` Compiling wasi-cap-std-sync v0.23.0 error[E0599]: no method named `set_times` found for struct `cap_std::fs::File` in the current scope --> /Users/scalderon/.cargo/registry/src/github.com-1ecc6299db9ec823/wasi-cap-std-sync-0.23.0/src/file.rs:84:14 | 84 | .set_times(convert_systimespec(atime), convert_systimespec(mtime))?; |...
The default for Compute@Edge is now 1.49.0 https://developer.fastly.com/learning/compute/#install-local-dependencies https://github.com/fastly/compute-starter-kit-rust-default/blob/main/rust-toolchain
see https://github.com/bytecodealliance/wasmtime/pull/2434 We current have to work around some of these limitations by using a separate future executor that blocks for a lack of these interfaces in the past. Let's...
Hey folks, this code panics. The feature is documented [here](https://docs.rs/fastly/0.6.0/fastly/http/struct.Response.html#method.stream_to_client). ```rust pub fn main() -> Result { let resp = Response::new(); let mut writer = resp.stream_to_client(); writer.write_str("asdf"); Ok(()) } ```
```rust #[fastly::main] pub fn main(req: Request) -> Result { let mut beresp = req.send(API_BACKEND)?; let body = beresp.take_body_str(); beresp.set_body(body); Ok(beresp) } ``` Any Rust binaries that attempt to read the...
—watch sets the expectation that this project supports a workflow that doesn’t require manual restarts. You may find it useful to try and reload the config file itself changes.
It would be nice to separate the server bits from main and possibility normalize the common bits between the out of the box hyper server and the adapted rustls hyper...
The first attempt yields the feature but it could be done better with less string formatting Let's try a struct which implements Display instead to reduce string formatting