mirror of
https://github.com/mii443/wasmer.git
synced 2025-09-04 00:19:24 +00:00
The idea of this patch is to improve the documentation of the `wasmer-middlewares` crate by doing the following: * Link to the fully detailed existing `metering` example, * Give an overview of how to push a middleware on a compiler, * Give one example per type and function: `Metering`, `MeteringPoints`, `get_remaining_points` and `set_remaining_points`.
394 B
394 B
Wasmer Middlewares
The wasmer-middlewares
crate is a collection of various useful
middlewares:
-
metering
: A middleware for tracking how many operators are executed in total and putting a limit on the total number of operators executed.See the
metering
example to get a concrete and complete example.