Skip to main content

first_version

Function first_version 

Source
fn first_version(
    unit: &Unit,
    history: &History,
    policy: Policy<'_>,
) -> Result<Version, ProposalError>
Expand description

The first version of a unit at 0.0.0: its override, or the largest bump its commits ask for. Applications count every commit and libraries only features, fixes and breaking changes.