package semver2

  1. Overview
  2. Docs
Semantic version handling for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.0.tar.gz
md5=073f37551997f6c0f8f858a0012fdcde
sha512=7a2b4740f41b61f2e44775f1ba029388b9a5b50505199d92639fbcf792e7b4b98b0f181e91283b9b8e577731bfc0aea0b3a371316fed12cce9c3297937d4ed5e

Description

Published: 04 Jun 2019

README

ocaml-semver

Library for handling semantic version numbers (Semver 2.0.0) in OCaml.

Purpose

This library provides basic functions for working with semantic version numbers:

  • Parsing and printing version strings

  • Comparing version numbers for precedence

  • Checking validity of version numbers according to the Semver spec

Please refer to the module documentation for its API.

Local development

An OCaml and Opam environment is required. Library dependencies can be installed with:

$ make install-deps

Then you can run the test suite with:

$ make test

Contributing

Contributions are welcome in the form of issues or pull requests. Please remember to:

  1. Explain the intended purpose of your change and provide enough context for others to follow your reasoning.

  2. Add documentation for new (or existing!) functionality.

  3. Include tests to help ensure correctness of added code.

Copyright and Licensing

(C) 2019 Dividat AG.

Published under MIT license.

Dependencies (3)

  1. angstrom >= "0.11.2" & < "0.14.0"
  2. dune >= "1.2.0"
  3. ocaml >= "4.04.0"

Dev Dependencies (3)

  1. odoc with-doc
  2. yojson with-test & >= "1.4.1"
  3. ounit with-test & >= "1.0.2"

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.