Crate sp_version
source · [−]Expand description
Version module for the Substrate runtime; Provides a function that returns the runtime version.
Macros
Create a vector of Api declarations.
Create a const RuntimeString
.
Structs
Runtime version.
This should not be thought of as classic Semver (major/minor/tiny).
This triplet have different semantics and mis-interpretation could cause problems.
In particular: bug fixes should result in an increment of spec_version
and possibly authoring_version
,
absolutely not impl_version
since they change the semantics of the runtime.
Traits
Something that can provide the runtime version at a given block and the native runtime version.