Skip to main content

Module registry

Module registry 

Source

Structs§

Deprecation
Package-level deprecation/abandonment payload: why a package is deprecated, and what to use instead.

Enums§

RemovalStatus
Outcome of a registry’s per-version removal/deprecation signal.

Traits§

Metadata
Package metadata trait.
Registry
Generic package registry interface.
Version
Version information trait.

Functions§

find_latest_stable
Finds the latest stable version from a list of versions.
has_default_prerelease_marker
Whether version contains one of the common pre-release substrings (-alpha, -beta, -rc, -dev, -pre, -snapshot, -canary, -nightly), case-insensitively.
hash_routing_key
Hashes an ordered sequence of &str routing-hop parts into an opaque "{prefix}:{digest:016x}" chain-identity key, using std::collections::hash_map::DefaultHasher.
is_existence_wildcard
Whether req is a wildcard/empty requirement ("" or "*", ignoring surrounding whitespace) rather than a concrete version constraint.
is_existence_wildcard_str
is_existence_wildcard for a raw &str, without allocating a VersionReq wrapper.
select_latest_for_existence
Index of the version an existence check should report as “latest”, ignoring req entirely.