Module semverver::semcheck::changes [−][src]
Change representation.
This module provides data types to represent, store and record changes found in various analysis passes. We distinguish between path changes and regular changes, which represent changes to the export structure of the crate and to specific items, respectively. The ordering of changes and output generation is performed using the span information contained in these data structures. This means that we try to use the old span only when no other span is available, which leads to (complete) removals being displayed first. Matters are further complicated by the fact that we still group changes by the item they refer to, even if it's path changes.
Re-exports
pub use self::ChangeCategory::*; |
pub use self::ChangeType::*; |
Structs
Change |
A change record of an item present in both crate versions. |
ChangeSet |
The total set of changes recorded for two crate versions. |
PathChange |
A change record of newly introduced or removed paths to an item. |
Enums
ChangeCategory |
The categories we use when analyzing changes between crate versions. |
ChangeType |
The types of changes we identify between items present in both crate versions. |
Name |
Different ways to refer to a changed item. |