We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 339d400 commit d9a1af2Copy full SHA for d9a1af2
src/libsemver/lib.rs
@@ -79,17 +79,17 @@ impl fmt::Show for Identifier {
79
#[deriving(Clone)]
80
pub struct Version {
81
/// The major version, to be incremented on incompatible changes.
82
- major: uint,
+ pub major: uint,
83
/// The minor version, to be incremented when functionality is added in a
84
/// backwards-compatible manner.
85
- minor: uint,
+ pub minor: uint,
86
/// The patch version, to be incremented when backwards-compatible bug
87
/// fixes are made.
88
- patch: uint,
+ pub patch: uint,
89
/// The pre-release version identifier, if one exists.
90
- pre: Vec<Identifier>,
+ pub pre: Vec<Identifier>,
91
/// The build metadata, ignored when determining version precedence.
92
- build: Vec<Identifier>,
+ pub build: Vec<Identifier>,
93
}
94
95
impl fmt::Show for Version {
0 commit comments