[][src]Crate check_latest

Depending on the features you have enabled/disabled, you should view the documentation for blocking and/or async for basic usage.

Features

blocking

This feature is enabled by default.

Provides the basic usage.

async

Allows you to asynchronously check for available versions. If enabled, it will provide async versions of the macros, which can be used with <macro_name>_async! For example, max_version_async!.

[dependencies.check-latest]
default-features = false # If you want async, you probably don't want blocking
features = ["async"]

Modules

blocking

Check for version updates with blocking requests. Enabled with the blocking feature

Macros

max_minor_version

Makes it easier to run get_max_minor_version.

max_patch

Makes it easier to run get_max_patch.

max_version

Makes it easier to run get_max_version.

newest_version

Makes it easier to run get_newest_version.

versions

Makes it easier to run get_versions.

Structs

Error

Error for failed version checking/comparison.

Versions

Type Definitions

Result

Result of version checking/comparison.