#json #parser #object #wasm-pack #logs #ron

bin+lib ron-parser

Parsing debug implementation from rust object to JSON

4 releases

0.1.4 Aug 7, 2023
0.1.3 Aug 3, 2023
0.1.2 Aug 2, 2023
0.1.1 Jul 12, 2023
0.1.0 Jul 12, 2023

#627 in Debugging

Download history 2133/week @ 2024-07-22 1387/week @ 2024-07-29 2462/week @ 2024-08-05 1480/week @ 2024-08-12 1766/week @ 2024-08-19 2290/week @ 2024-08-26 1750/week @ 2024-09-02 1938/week @ 2024-09-09 1803/week @ 2024-09-16 1563/week @ 2024-09-23 1436/week @ 2024-09-30 1970/week @ 2024-10-07 1958/week @ 2024-10-14 2024/week @ 2024-10-21 1248/week @ 2024-10-28 1896/week @ 2024-11-04

7,206 downloads per month

MIT license

35KB
836 lines

RON Parser

Parsing debug logs with with nom parser. Handling primitive datetime, serde-json and unique debug implementation.

Tooling

For added support of wasm, use wasm-pack and the commands mentioned below in the builds section.

Builds

  • Building wasm

    wasm-pack build -t web --no-typescript --no-pack
    

    This command will build the necessary .js and .wasm file from the project containing a single parse function which performs the translation from rust debug logs to json

Dependencies

~2.1–3.5MB
~64K SLoC