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
13 Dec 2018
Maintainers
Sources
uri-v2.1.0.tbz
md5=a5d9ed86f9f26d7936523afecd623d61
Dependencies
stringext
>= "1.4.0"
re
>= "1.7.2"
ppx_sexp_conv
build & >= "v0.9.0"
ounit
with-test & >= "1.0.2"
dune
>= "1.2.0" & < "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"
nbd
>= "2.0.1"
opam2web
>= "1.3.0"
rdf
>= "0.10.0" & < "0.12.0"
satyrographos
< "0.0.2.1"
stog
>= "0.17.0" & < "0.19.0"
trakeva
>= "0.1.0"
wamp
>= "1.1"