Skip to content
This repository was archived by the owner on Jul 31, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

452 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prelude XML Parser

Note

This repository has been moved into the prelude-parser repository. All functionality and the crate name remain unchanged.

Deserialize Prelude EDC native XML files into Rust structs. Enabling the python feature allows deserializing to Python classes with PyO3.

Supported native files

  • Subject native XML
  • Site Native XML
  • User Native XML

Benchmarks

Benchmarks are run with criterion and cover all three parsers, in both their _string and _file forms, across a range of input sizes. Inputs are generated at run time by replicating the fixtures in tests/assets/, so no extra setup is needed:

just bench

An HTML report is written to target/criterion/report/index.html.

For a faster measurement that stops as soon as the significance level is reached (~20s instead of several minutes):

just bench-quick

To only check that the benchmarks still run, without measuring anything:

just bench-smoke

To additionally benchmark against a real subject native export, point BENCH_XML_FILE at it:

BENCH_XML_FILE=/path/to/subject_native.xml cargo bench

About

Deserialize Prelude EDC native XML files

Topics

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages