Crate proto_core
source ·Structs§
- SemVer version as defined by https://semver.org.
- SemVer version requirement describing the intersection of some version comparators, such as
>=1.2.3, <1.8.
Enums§
- Strategies for locating plugins.
- Represents an unresolved version or alias that must be resolved to a fully-qualified and semantic result.
- Represents a resolved version or alias.
Constants§
Statics§
- Cached static for the
get_proto_versionfunction. - Cached static for the
is_offlinefunction.
Functions§
- Cleans a potential version string by removing a leading
vorV, removing each occurence of.*, and removing invalid spaces. - This is a cached function that uses the
GET_PROTO_VERSIONcached static. - Origin of the cached function
get_proto_version. - Primes the cached function
get_proto_version. This is a cached function that uses theGET_PROTO_VERSIONcached static. - Returns true if the provided value is an alias. An alias is a word that maps to version, for example, “latest” -> “1.2.3”.
- This is a cached function that uses the
IS_OFFLINEcached static. - Origin of the cached function
is_offline. - Primes the cached function
is_offline. This is a cached function that uses theIS_OFFLINEcached static.