[][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

async

Check for version updates with asynchronous requests. Enabled with the async feature

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_minor_version_async

Asynchronous version of max_minor_version! View the documentation of max_minor_version! for more information.

max_patch

Makes it easier to run get_max_patch.

max_patch_async

Asynchronous version of max_patch! View the documentation of max_patch! for more information.

max_version

Makes it easier to run get_max_version.

max_version_async

Asynchronous version of max_version! View the documentation of max_version! for more details.

newest_version

Makes it easier to run get_newest_version.

newest_version_async

Asynchronous version of newest_version!. View the documentation of newest_versions! for full usage.

versions

Makes it easier to run get_versions.

versions_async

Asynchronous version of versions!. View the documentation of versions! for full usage.

Structs

Error

Error for failed version checking/comparison.

Versions

Type Definitions

Result

Result of version checking/comparison.