triblespace 0.24.0

The Triblespace: A lightweight knowledge base for rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# WASM Formatter Limits

`WasmLimits` defines the resource caps used by `WasmValueFormatter` when running
value formatter modules. The defaults are a stable contract within a major
version:

- `max_memory_pages`: 8
- `max_fuel`: 5_000_000
- `max_output_bytes`: 8 * 1024

`WasmValueFormatter::format_value` uses the defaults. Use
`format_value_with_limits` if you need to tighten or loosen the caps for a
specific workload.