uri

An RFC3986 URI/URL parsing library
README

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

Install
Published
03 Jun 2019
Maintainers
Sources
uri-v2.2.1.tbz
sha256=f6348edbae9b9011b3f65e85e775f2cf7b87735c5ceb54d6962377daec3bf56b
sha512=28a4a659695d5d02f8a1b2965cbb05bc864bea5576c447707bb7db0e7411cafc78323ba6729e32b8b31fdc24a53e906274812d377e62829ebc9ebd6602331176
Dependencies
stringext
>= "1.4.0"
sexplib0
< "v0.15"
re
>= "1.9.0"
ppx_sexp_conv
build & >= "v0.9.0"
ounit
with-test & >= "1.0.2"
dune
>= "1.2.0"
ocaml
>= "4.04.0"
Reverse Dependencies
arakoon
>= "1.9.0"
archetype
< "0.1.5" | >= "1.2.10"
async_js
= "v0.10.0" | = "v0.12.0"
aws
>= "1.0.0" & < "1.2"
aws-s3
>= "4.0.0"
bap
>= "0.9.4" & < "1.0.0"
bap-byteweight
>= "2.2.0"
bap-plugins
>= "2.2.0"
bap-trace
>= "2.2.0"
biocaml
>= "0.4.0"
cohttp
>= "1.2.0"
cohttp-async
>= "1.2.0"
cohttp-lwt
>= "4.0.0"
conduit
>= "1.3.0" & != "3.0.0"
cow
>= "0.5.4"
datakit-ci
>= "0.12.2" & < "1.0.0"
datakit-client
< "0.11.0"
datakit-server
< "0.11.0"
dns
< "0.7.0" | >= "1.0.0" & < "4.0.0"
dropbox
< "0.2"
git
< "3.0.0"
git-mirage
>= "3.7.0"
git-unix
>= "3.0.0"
github
>= "0.3.1"
hvsock
>= "2.0.0"
irmin-git
>= "2.3.0"
irmin-http
>= "2.3.0"
irmin-unix
>= "2.3.0"
letsencrypt
>= "0.3.0"
links
>= "0.9"
liquidsoap
>= "2.1.1"
nbd
>= "2.0.1"
opam2web
>= "1.3.0"
opium
>= "0.19.0"
rdf
>= "0.10.0" & < "0.12.0"
satyrographos
< "0.0.2.1"
stog
>= "0.17.0" & < "0.19.0"
tezos-base
>= "14.0"
tezos-client
>= "14.0"
tezos-node
>= "14.0"
tezos-proxy
>= "14.0"
tezos-rpc
>= "14.0"
tezos-stdlib-unix
< "7.4" | >= "14.0"
trakeva
>= "0.1.0"
wamp
>= "1.1"