#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

#389 in Debugging

Download history 1240/week @ 2024-03-14 912/week @ 2024-03-21 1456/week @ 2024-03-28 1364/week @ 2024-04-04 1106/week @ 2024-04-11 1190/week @ 2024-04-18 1084/week @ 2024-04-25 1624/week @ 2024-05-02 1436/week @ 2024-05-09 1293/week @ 2024-05-16 1120/week @ 2024-05-23 1316/week @ 2024-05-30 1261/week @ 2024-06-06 773/week @ 2024-06-13 1205/week @ 2024-06-20 925/week @ 2024-06-27

4,466 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.2–3.5MB
~65K SLoC