Skip to main content

Crate cargo_type_history

Crate cargo_type_history 

Source
Expand description

The cargo type-history commands for checking and freezing histories.

Initialize a package’s ledger before declaring its first history. As fields change, use check to compare the source with frozen schemas and freeze to record a version before storing data with it. reset reopens the highest frozen version so a later exact freeze can replace it. Use it only for disposable experimental data. import installs an existing complete history.

The binary passes its arguments to run. See the lifecycle guide for commands, draft rules, and reset limits.

Structs§

CliError
CLI failure with an actionable explanation.

Functions§

run
Run an explicit lifecycle operation or a read-only workspace check.