#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

#724 in Debugging

Download history 1598/week @ 2024-09-25 1730/week @ 2024-10-02 2004/week @ 2024-10-09 1766/week @ 2024-10-16 2057/week @ 2024-10-23 1343/week @ 2024-10-30 1716/week @ 2024-11-06 2048/week @ 2024-11-13 2132/week @ 2024-11-20 1809/week @ 2024-11-27 1891/week @ 2024-12-04 2037/week @ 2024-12-11 2465/week @ 2024-12-18 863/week @ 2024-12-25 1371/week @ 2025-01-01 1079/week @ 2025-01-08

6,130 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