2 releases

0.0.2 Oct 8, 2024
0.0.1 Oct 7, 2024

#2011 in Parser implementations

Download history 306/week @ 2024-10-04 113/week @ 2024-10-11 80/week @ 2024-10-18 13/week @ 2024-10-25 33/week @ 2024-11-01 7/week @ 2024-11-08 14/week @ 2024-11-15 18/week @ 2024-11-22 15/week @ 2024-11-29

59 downloads per month
Used in 8 crates

MIT license

7KB
87 lines

Version

A simple Rust library for handling semantic versioning. The Version struct allows for easy representation and manipulation of version numbers in the format major.minor.patch. Used for serializing version information over the network, particularly for deterministic software.

Features

  • Parse version strings (e.g., "1.2.3") into Version objects.
  • Convert tuples of the form (u16, u16, u16) into Version objects.
  • Display versions in a user-friendly format.

Installation

Add the following to your Cargo.toml:

[dependencies]
version = "0.0.1"

License

This project is licensed under the MIT License. See the LICENSE file for details.

No runtime deps