package uri-sexp

  1. Overview
  2. Docs
An RFC3986 URI/URL parsing library

Install

Dune Dependency

Authors

Maintainers

Sources

uri-v4.0.0.tbz
sha256=000d9928877581c4f2fe6e02dee41db9cc4cb1f21e383f3b6ee3a7eadfb4298f
sha512=954b082b9409717bd59164b8a03196af9320f60fcb529bf885ba1771a4097aaf6c4cc3769e1d7b8be5239bfb690119b53b6a3fa6282a5ac5a5544119d82b1b7e

Description

ocaml-uri with sexp support

README

Uri -- an RFC3986 URI/URL parsing library

This is an OCaml implementation of the RFC3986 specification for parsing URI or URLs.

Installation

Via OPAM

The OPAM package manager can be used to install this library from source.

opam install uri

Locally

You can build the source code locally via the dune build system.

opam install uri --deps-only
eval `opam config env`
dune build
dune runtest

will install the dependencies via OPAM, build the library and then run the tests in the lib_test/ directory.

Usage

Once installed, there are three ocamlfind packages available for your use:

  • uri - the base Uri module

  • uri.top - the toplevel printers for use with utop

  • uri-sexp - provides converters to and from s-expressions (via a Uri_sexp.t type alias)

  • uri.services - the Uri_services module that provides the equivalent of services(5)

  • uri.services_full - the Uri_services_full module that provides a complete copy of the /etc/services file. This is quite large and normally not needed.

Contact

Dependencies (4)

  1. sexplib0
  2. ppx_sexp_conv >= "v0.13.0"
  3. dune >= "1.2.0"
  4. uri = version

Dev Dependencies (1)

  1. ounit with-test

Conflicts

None

OCaml

Innovation. Community. Security.