library_stdnums 0.1.0

A library for processing standard bibliographic numbers in Rust
Documentation
  • Coverage
  • 18.18%
    4 out of 22 items documented4 out of 14 items with examples
  • Size
  • Source code size: 24.46 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 487.18 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • pulibrary/library_stdnums
    1 0 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • christinach maxkadel sandbergja

This is a Rust implementation of Bill Dueber's library_stdnums ruby gem.

To get started

  1. Install Rust using the command provided at https://www.rust-lang.org/tools/install
  2. Restart your shell
  3. git clone git@github.com:pulibrary/library_stdnums.git
  4. cd library_stdnums
  5. Run cargo test

Mutation testing

This crate uses cargo-mutants for mutation testing in CI. To run it locally:

cargo install --locked cargo-mutants
cargo mutants

Compare the performance of two branches

git checkout branch1
cargo bench
git checkout branch2
cargo bench

The second cargo bench run will run various benchmarks and, for each one, report either "Performance has improved." or "Performance has regressed."