#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

#282 in Debugging

Download history 656/week @ 2023-12-23 1068/week @ 2023-12-30 1748/week @ 2024-01-06 918/week @ 2024-01-13 941/week @ 2024-01-20 1466/week @ 2024-01-27 1373/week @ 2024-02-03 1177/week @ 2024-02-10 1408/week @ 2024-02-17 1888/week @ 2024-02-24 1914/week @ 2024-03-02 1433/week @ 2024-03-09 1144/week @ 2024-03-16 799/week @ 2024-03-23 1760/week @ 2024-03-30 865/week @ 2024-04-06

4,792 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
~63K SLoC