A software version formatted according to the Semantic Versioning 2.0.0 specification.

See: https://semver.org

Fields

major: usize,
minor: usize,
patch: usize,
pre: ?[]const u8 = null,
build: ?[]const u8 = null,

Types

Functions

fn format(self: Version, comptime fmt: []const u8, options: std.fmt.FormatOptions, out_stream: anytype) !void

No documentation provided.

fn order(lhs: Version, rhs: Version) std.math.Order

No documentation provided.

fn parse(text: []const u8) !Version

No documentation provided.