app-version 0.0.2

Application Version
Documentation
  • Coverage
  • 66.67%
    10 out of 15 items documented2 out of 12 items with examples
  • Size
  • Source code size: 8.81 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.87 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • nimble-rust/nimble
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • piot

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.