#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

#609 in Debugging

Download history 1559/week @ 2024-08-11 1647/week @ 2024-08-18 2318/week @ 2024-08-25 1811/week @ 2024-09-01 1904/week @ 2024-09-08 1858/week @ 2024-09-15 1521/week @ 2024-09-22 1377/week @ 2024-09-29 2011/week @ 2024-10-06 2009/week @ 2024-10-13 2030/week @ 2024-10-20 1230/week @ 2024-10-27 1851/week @ 2024-11-03 1744/week @ 2024-11-10 2261/week @ 2024-11-17 1783/week @ 2024-11-24

7,644 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–3.5MB
~63K SLoC