Skip to main content

Module upgrade

Module upgrade 

Source
Expand description

Upgrade report (lockdocs Pro): the API difference between the pinned version of a package and a target version, limited to the symbols the project actually uses, with call sites and migration-guide pointers.

This module only compares and scans; whether the caller may run it is decided by the binary’s licence gate (crates/lockdocs/src/pro.rs).

Structs§

CallSite
A place in the project that mentions a changed symbol.
Diff
Report
The report: the changes the project is exposed to, the rest as a count.

Enums§

Change
What happened to a symbol between the two versions.

Functions§

call_sites
Call sites per old symbol path, found by a textual scan of the project’s source files that mention the package. Not a type-aware analysis: a member name matches when it follows . or ::.
diff
Symbol-level difference. A path present in the new version (as a symbol or as a re-export) is never “removed”.
report