Skip to content

Diesel.rs Backend

Compare
Choose a tag to compare
@dginev dginev released this 03 Dec 19:18
· 356 commits to master since this release
2eff00e

This release, detailed in PR #24 , is a major backend rewrite that ensures a more solid and maintainable foundation. This includes:

  • The postgresql backend is now realized entirely using the diesel ORM
  • The log messaging table has now been split into 5 tables - one per (latexml-convention) severity, in an effort to keep the final table sizes for billions of messages reasonable.
  • The new LogRecord trait makes that usable in Rust with moderate boilerplate, which I find acceptable.
  • The implications for the code base are more significant - there are large refactors in the backend APIs and coding style.
  • The code quality has been boosted by a more disciplined use of rustfmt and clippy.

The release has undergone a stress test of converting 1000 arXiv artciles and using the respective reports, as a basic sanity check.