avatarr-parser 0.1.0

Release-name parser ported from Sonarr v4.0.17.2952
Documentation
  • Coverage
  • 36.65%
    70 out of 191 items documented0 out of 27 items with examples
  • Size
  • Source code size: 447.68 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.22 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • alan09086

avatarr-parser

Release-name parser for avatarr, ported from Sonarr v4.0.17.2952.

Purpose

Detect quality (resolution, source, modifier, revision) and language from release filenames and folder names: the same task Sonarr's QualityParser.cs and LanguageParser.cs perform on the C# side.

Architecture

Self-contained workspace member: no dependency on crates/core. The parser takes a release name in, returns typed QualityModel + Vec<Language> out. Downstream crates (avatarr-core, avatarr-cli, avatarr-gui) consume those types; the parser does not consume them.

Edition 2024 is set explicitly here (the rest of the workspace is on 2021). m50 makes parser edition-divergent on purpose to give the ported code a clean modern baseline.

Attribution

See THANKS.md for source SHA + license. Every ported file carries a per-file header pointing at its Sonarr origin.