ingredients-diff - Man Page

Compare two versions of a crate

Synopsis

ingredients diff [--format] [--severity] [--old-file] [--new-file] [--include-prereleases] [--include-yanked] [-L|--diff-size-limit] [-h|--help] <NAME> <OLD_VERSION> [NEW_VERSION]

Description

Compare two versions of a crate

By default, the crate archives are downloaded from crates.io. To override this behaviour, pass `--old_file <PATH>` and `--new-file <PATH>` to use locally downloaded files instead.

Options

--format <FORMAT> [default: plain]

Output format

Possible values:

  • plain
  • verbose
  • json
--severity <SEVERITY> [default: info]

Minimum severity

Possible values:

  • fatal: Fatal problems that prevent further processing
  • error: Probable errors that require manual investigation
  • warning: Potential issues that might or might not be harmless
  • info: Additional information provided for some situations
  • debug: Information only useful for debugging purposes
--old-file <OLD_FILE>

Path to local crate archive for old crate version

--new-file <NEW_FILE>

Path to local crate archive for new crate version

--include-prereleases

Include pre-releases when querying registry for available versions

--include-yanked

Include yanked versions when querying registry for available versions

-L,  --diff-size-limit <DIFF_SIZE_LIMIT>

Override default file size limit (in bytes) for diff generation

Pass "0" to set no file size limit (not recommended). The default value is 1 MiB (1024 * 1024).

-h,  --help

Print help (see a summary with '-h')

<NAME>

Name of the crate

<OLD_VERSION>

Old version of the crate

Accepts strings that can be parsed as `semver::Version` or `semver::VersionReq`. Version requirements are used to query crates.io for the latest available version that matches the requirement.

[NEW_VERSION]

New version of the crate

Accepts strings that can be parsed as `semver::Version` or `semver::VersionReq`. Version requirements are used to query crates.io for the latest available version that matches the requirement.

If omitted, the registry is queried for the latest available version.

Referenced By

ingredients(1).

diff