Module version

Module version 

Source
Expand description

Provides an opportunity to work with versions.

Modules§

exposed
Exposed namespace of the module.
orphan
Orphan namespace of the module.
own
Own namespace of the module.
prelude
Prelude to use essentials: use my_module ::prelude :: *.

Structs§

BumpOptions
Options for version bumping. BumpOptions manages the details necessary for the version bump process for crates. This includes the directory of the crate whose version is being bumped, the old and new version numbers, and the set of dependencies of that crate.
BumpReport
Report for bump operation. A structure that represents a bump report, which contains information about a version bump.
ExtendedBumpReport
Report about a changing version with list of files that was changed. Report about a changing version.
Version
Version entity. Wrapper for a SemVer structure

Functions§

bump
Bump version. Bumps the version of a package and its dependencies.
manifest_bump
Bumps the version of a package and its dependencies. Bump version by manifest. It takes data from the manifest and increments the version number according to the semantic versioning scheme. It then writes the updated manifest file back to the same path, unless the flag is set to true, in which case it only returns the new version number as a string.
revert
Reverts the version of a package. Reverts the version of a package in the provided ExtendedBumpReport.