Crates.io | lp_parser_rs |
lib.rs | lp_parser_rs |
version | 1.3.2 |
source | src |
created_at | 2023-11-13 22:05:48.113908 |
updated_at | 2024-11-19 19:35:04.248815 |
description | A Rust parser for the LP file format. |
homepage | |
repository | https://github.com/dandxy89/lp_parser_rs |
max_upload_size | |
id | 1034105 |
size | 12,260,793 |
A custom Rust LP file parser - this crate leverages the PEST crate for parsing LP files. It is designed and adhering to the following specifications:
Try it out using the following command line;
git clone https://github.com/dandxy89/lp_parser_rs.git &&
cargo run -- {{PATH_TO_FILE}}
serde
: Adds Serde
annotations to each of the model Structs and Enums.diff
: Adds capability to diff two StructsTest data has been copied from other similar or related projects:
This crate utilized insta
for snapshot testing.
cargo insta test --all-features # Run all tests
cargo insta review # Review any changes to the snapshots