https://github.com/alopatindev/long-version
Minimalistic version parsing and comparison. Supports non-semver versions, ignores non-numeric postfixes like alpha/rc/etc.
https://github.com/alopatindev/long-version
parser rust version
Last synced: about 1 month ago
JSON representation
Minimalistic version parsing and comparison. Supports non-semver versions, ignores non-numeric postfixes like alpha/rc/etc.
- Host: GitHub
- URL: https://github.com/alopatindev/long-version
- Owner: alopatindev
- License: apache-2.0
- Created: 2021-08-02T19:21:10.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-02T19:23:26.000Z (almost 5 years ago)
- Last Synced: 2025-10-19T01:02:40.399Z (8 months ago)
- Topics: parser, rust, version
- Language: Rust
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# long-version
Minimalistic version parsing and comparison. Supports non-semver versions, ignores postfixes like alpha/rc/etc.
```rust
assert!("2.0.0".parse::()? > "1.1.0.0".parse::()?);
```
## License
MIT/Apache-2.0