Crate proto_pdk_api

source ·

Macros§

  • Construct an ad-hoc error from a string or existing non-anyhow error value.
  • Wrap an enum with common derives and serde required attributes.
  • Wrap a struct with common derives and serde required attributes.

Structs§

Enums§

Functions§

  • Cleans a potential version string by removing a leading v or V, removing each occurence of .*, and removing invalid spaces.
  • Returns true if the provided value is an alias. An alias is a word that maps to version, for example, “latest” -> “1.2.3”.

Type Aliases§

  • Represents any result (using anyhow).