perl-module-name 0.11.0

Perl module-name separator normalization and canonical/legacy variant helpers
Documentation
  • Coverage
  • 100%
    4 out of 4 items documented3 out of 3 items with examples
  • Size
  • Source code size: 67.92 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.12 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • EffortlessMetrics/perl-lsp
    0 1 46
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • EffortlessSteven

perl-module-name

Perl module-name separator normalization and canonical/legacy variant helpers.

Scope

  • Normalize legacy package separators: Foo'Bar -> Foo::Bar
  • Project canonical names into legacy separators: Foo::Bar -> Foo'Bar
  • Build stable canonical + legacy rename pairs for module-rename workflows

API

  • normalize_package_separator(module_name)
  • legacy_package_separator(module_name)
  • module_variant_pairs(old_module, new_module)