Skip to main content

hyperlane_cli/bump/
struct.rs

1/// Parsed version components following semantic versioning
2#[derive(Clone, Debug, Eq, PartialEq)]
3pub struct Version {
4    /// Major version number
5    pub major: u64,
6    /// Minor version number
7    pub minor: u64,
8    /// Patch version number
9    pub patch: u64,
10    /// Optional pre-release identifier (e.g., "alpha", "beta", "rc.1")
11    pub prerelease: Option<String>,
12}