rasn
rasn copied to clipboard
Adding optional tracing
For debugging purposes, it would be exceptionally useful if we add, for example tracing support as an optional compile-time feature. It will come with performance cost but reduces the need to split complex types for smaller parts to see what is wrong.
E.g. every encode/decode method could log the value, constraints, encoded length and encoded value bytes.