app-version

Crates.ioapp-version
lib.rsapp-version
version0.0.2
sourcesrc
created_at2024-10-07 21:41:25.572701
updated_at2024-10-08 09:30:42.578374
descriptionApplication Version
homepage
repositoryhttps://github.com/nimble-rust/nimble
max_upload_size
id1400490
size9,131
Peter Bjorklund (piot)

documentation

README

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.

Commit count: 151

cargo fmt