package uri-sexp
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=c452823fd870cf7cffe51aef3e9ca646a382dc6f87282f2b16bfe30a7515ac43
sha512=c015576bb077fd243022bcd8804e628d23a253dcd8bbdda8dc2a57e86cfeb9fd629087ec7d7e23dc71dd7cd137450ca2c5ecf8fb7d184ec9d1d4e41f6f83ee38
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 baseUri
moduleuri.top
- the toplevel printers for use with utopuri-sexp
- provides converters to and from s-expressions (via aUri_sexp.t
type alias)uri.services
- theUri_services
module that provides the equivalent of services(5)uri.services_full
- theUri_services_full
module that provides a complete copy of the/etc/services
file. This is quite large and normally not needed.
Contact
API Documentation: http://docs.mirage.io/uri/
Dependencies (4)
-
sexplib0
< "v0.15"
-
ppx_sexp_conv
>= "v0.9.0"
-
dune
>= "1.2.0"
-
uri
= version
Dev Dependencies (1)
-
ounit
with-test
Used by (8)
-
async-uri
>= "0.2" & != "0.3.0"
-
async_js
>= "v0.13.0"
- awsm-codegen
-
cohttp
>= "2.1.3"
-
cohttp-async
>= "2.1.3"
- cohttp_async_websocket
- cohttp_static_handler
-
satyrographos
>= "0.0.2.1"
Conflicts
None