version
On this page:
- spider.version: The version of this Spider (
std.SemanticVersion):spider.version.minor.
spider.version
pub const version: std.SemanticVersion = std.SemanticVersion.parse(string) catch unreachable
The version of this Spider: spider.version.major, .minor, .patch.
if (spider.version.order(try std.SemanticVersion.parse("0.11.0")) == .lt) {
// an older Spider
}
Related
What the declarations above take or give back, without a name of its own in spider.
string
pub const string = "0.11.0"
The version of this Spider, as text: the same as build.zig.zon.