Crate proto_core
source ·Structs
- UserConfigDeprecated
- 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_version
function. - Cached static for the
is_offline
function.
Functions
- Cleans a potential version string by removing a leading
v
orV
, removing each occurence of.*
, and removing invalid spaces. - This is a cached function that uses the
GET_PROTO_VERSION
cached 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_VERSION
cached 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_OFFLINE
cached static. - Origin of the cached function
is_offline
. - Primes the cached function
is_offline
. This is a cached function that uses theIS_OFFLINE
cached static.