[−][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 |
blocking | Check for version updates with blocking requests.
Enabled with the |
Macros
max_minor_version | Makes it easier to run |
max_minor_version_async | Asynchronous version of |
max_patch | Makes it easier to run |
max_patch_async | Asynchronous version of |
max_version | Makes it easier to run |
max_version_async | Asynchronous version of |
newest_version | Makes it easier to run |
newest_version_async | Asynchronous version of |
versions | Makes it easier to run |
versions_async | Asynchronous version of |
Structs
Error | Error for failed version checking/comparison. |
Versions |
Type Definitions
Result | Result of version checking/comparison. |