Nathan Fisher
|
efd44e16e2
|
Merge branch 'odin' of git.hitchhiker-linux.org:jeang3nie/version-rs into odin
|
2024-02-08 18:56:37 -05:00 |
Nathan Fisher
|
1aebef2c02
|
Make `serde` optional
|
2024-02-08 18:54:44 -05:00 |
Nathan Fisher
|
b40178ede2
|
Merge branch 'simple-enum' of git.hitchhiker-linux.org:jeang3nie/version-rs into simple-enum
|
2024-02-03 00:50:17 -05:00 |
Nathan Fisher
|
3d1380b971
|
Add test for Version::to_string
|
2024-02-03 00:34:31 -05:00 |
Nathan Fisher
|
626a5c288f
|
Add test for `impl PartialCmp for Version`
|
2024-02-02 11:43:46 -05:00 |
Nathan Fisher
|
0fdfecf842
|
Add tests for `impl FromStr for Version`
|
2024-02-01 22:50:03 -05:00 |
Nathan Fisher
|
17e52c2b01
|
Fix failing doc test, adjust README
|
2024-01-31 22:59:31 -05:00 |
Nathan Fisher
|
98b74bd2a7
|
Initial refactor
|
2024-01-31 22:36:20 -05:00 |
Nathan Fisher
|
12ac9a84ce
|
Add README, give prerelease numbers 12 bits rather than 10
|
2024-01-22 01:10:33 -05:00 |
Nathan Fisher
|
ab572849c6
|
Add tests for `FromStr` for `GitRev` and `Version`, rethink `GitRev` slightly in the process of making tests pass
|
2024-01-21 19:12:16 -05:00 |
Nathan Fisher
|
9255c3e1f2
|
Refactor and fix Clippy lints
|
2024-01-15 19:02:53 -05:00 |
Nathan Fisher
|
32dd349c70
|
Add helper methods to `PreRelease`
|
2024-01-10 17:33:05 -05:00 |
Nathan Fisher
|
00b606947f
|
Add tests for Extended
|
2024-01-10 16:50:32 -05:00 |
Nathan Fisher
|
6159bb321b
|
Rework `Version` into tuple struct with included Arch
|
2024-01-10 13:16:08 -05:00 |
Nathan Fisher
|
2247d2c572
|
Add `Arch` enum
|
2024-01-09 20:58:28 -05:00 |
Nathan Fisher
|
935f10cb9d
|
impl fmt::Display and FromStr for Version
|
2024-01-08 19:11:37 -05:00 |
Nathan Fisher
|
748a786632
|
impl PartialEq and PartialOrd for all types
|
2024-01-08 19:02:19 -05:00 |
Nathan Fisher
|
298185d8d4
|
Add `GitRev` struct and `Version` enum; Begin impl `PartialOrd` where LHS type doesn't match RHS type
|
2024-01-08 00:46:21 -05:00 |
Nathan Fisher
|
88de80e0d3
|
Add `Rapid` and `Simple` versioning, fix logic error in `Extended`
|
2024-01-07 10:14:11 -05:00 |
Nathan Fisher
|
31d3bc960b
|
Finish conversion from u64 to SemVer and add test
|
2024-01-07 09:55:41 -05:00 |
Nathan Fisher
|
dd243ab155
|
Add `Extended` struct; Finish writing tests for `SemVer`
|
2024-01-06 19:17:24 -05:00 |
Nathan Fisher
|
0c192f4b82
|
Add methods and tests for `SemVer`
|
2024-01-06 12:53:25 -05:00 |
Nathan Fisher
|
825592175a
|
Add tests for SemVer parsing
|
2024-01-05 19:13:08 -05:00 |
Nathan Fisher
|
8009575765
|
Add `SemVer` struct and related impl's
|
2024-01-05 19:05:34 -05:00 |
Nathan Fisher
|
bb187d4f8c
|
Add test for `impl Ord for PreRelease`, fix test failure for `impl Eq for PreRelease`
|
2024-01-05 12:48:33 -05:00 |
Nathan Fisher
|
e687e27a5b
|
Add test for equality for PreRelease::Alpha
TODO: Fix failing test..
|
2024-01-05 11:46:50 -05:00 |
Nathan Fisher
|
1d9242480a
|
Add tests for parsing prereleases
|
2024-01-05 10:22:54 -05:00 |
Nathan Fisher
|
bb12ee81f5
|
Simplify parsing NonZeroU16
|
2024-01-05 09:59:32 -05:00 |
Nathan Fisher
|
db5805b8db
|
Initial commit
|
2024-01-05 09:22:51 -05:00 |