package uri

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uri-v4.2.0.tbz
sha256=c5c013d940dbb6731ea2ee75c2bf991d3435149c3f3659ec2e55476f5473f16b
sha512=119e39bf53db9e94383a4e3a3df492b60b2db097266b3a8660de431ad85bc87997718305972fd2abbfb529973475ce6b210ba5e34d12e85a5dabbb0e24130aa1

Description

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

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-re - the legacy implementation At the beginning, uri used re to parse a string. Since 4.0.0, we use angstrom - if something breaks with uri.4.0.0, you should compare with uri-re and submit an issue. uri-re is deprecated and it will be removed on the next release (see #150)
  • 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

Build Status

Dependencies (4)

  1. angstrom >= "0.14.0"
  2. stringext >= "1.4.0"
  3. dune >= "1.2.0"
  4. ocaml >= "4.04.0"

Dev Dependencies (2)

  1. ppx_sexp_conv with-test & >= "v0.9.0"
  2. ounit with-test & >= "1.0.2"

  1. amqp-client-async >= "2.1.0"
  2. amqp-client-lwt >= "2.1.0"
  3. archetype < "0.1.5" | >= "1.2.10"
  4. async-uri < "0.2" | = "0.3.0"
  5. async_js >= "v0.13.0"
  6. aws
  7. aws-s3
  8. azblob
  9. azure-cosmos-db
  10. bap-bundle
  11. bap-byteweight >= "2.2.0"
  12. bap-patterns
  13. bap-plugins >= "2.2.0"
  14. bap-std >= "2.2.0"
  15. bap-trace >= "2.2.0"
  16. bap-traces
  17. bap-veri
  18. beluga >= "1.1"
  19. biocaml
  20. biotk >= "0.2.0"
  21. bonsai >= "v0.16.0"
  22. builder-web
  23. calculon-web
  24. caldav
  25. camyll >= "0.3.0"
  26. canary < "0.0.4"
  27. capnp-rpc >= "2.1"
  28. capnp-rpc-lwt < "2.0"
  29. capnp-rpc-net
  30. caqti
  31. caqti-driver-postgresql >= "1.9.1"
  32. carbon
  33. catala-lsp
  34. cohttp >= "2.4.0"
  35. cohttp-async >= "2.4.0"
  36. cohttp-curl-async
  37. cohttp-curl-lwt
  38. cohttp-eio
  39. cohttp-lwt >= "4.0.0"
  40. conduit
  41. conduit-async >= "5.1.0"
  42. conduit-lwt-unix
  43. conduit-mirage >= "6.2.2"
  44. cookie
  45. coq-lsp >= "0.1.5+8.16"
  46. cow
  47. current_examples
  48. current_github
  49. current_slack
  50. current_web
  51. dmarc
  52. dns < "4.4.1"
  53. dream
  54. dream-pure
  55. ezresto
  56. functoria
  57. gemini
  58. git
  59. git-cohttp
  60. git-cohttp-unix
  61. git-mirage
  62. git-net
  63. git-paf
  64. git-unix >= "3.2.0"
  65. github
  66. gitlab
  67. grpc
  68. guardian
  69. httpaf_caged
  70. hvsock >= "2.0.0"
  71. hyper
  72. icalendar
  73. ip2locationio
  74. ip2whois
  75. irmin
  76. irmin-cli
  77. irmin-git
  78. irmin-http
  79. irmin-mirage-git
  80. irmin-mirage-graphql
  81. irmin-server
  82. irmin-unix
  83. json-data-encoding
  84. jsonschema
  85. jsonschema-core
  86. kubecaml
  87. lambda-runtime
  88. lambdapi >= "3.0.0"
  89. letsencrypt < "2.0.0"
  90. links
  91. liquidsoap >= "2.1.4"
  92. liquidsoap-core
  93. mechaml >= "1.2.0"
  94. mehari
  95. mehari-eio < "0.3"
  96. memtrace_viewer < "v0.15.0"
  97. minima-theme
  98. mirage >= "4.7.0"
  99. mirage-block-unix
  100. monorobot
  101. moss
  102. naboris
  103. nbd
  104. nbd-tool
  105. obi
  106. ocaml_openapi_generator
  107. ocplib-json-typed
  108. oidc
  109. omigrate
  110. opam-compiler >= "0.2.1"
  111. opamfu
  112. opium >= "0.19.0"
  113. paf
  114. paf-cohttp
  115. pf-qubes
  116. piaf
  117. polymarket
  118. pxshot
  119. qdrant
  120. raga
  121. rdf < "1.0.0"
  122. resto
  123. resto-acl
  124. resto-cohttp-client
  125. resto-cohttp-self-serving-client
  126. rss
  127. satyrographos >= "0.0.2.1"
  128. savvy
  129. scgi
  130. sentry
  131. server-reason-react
  132. slack
  133. smaws-lib
  134. snf_mcp
  135. spotify-web-api
  136. stog >= "0.17.0" & < "1.0.0"
  137. syndic
  138. testcontainers
  139. textrazor
  140. tezt-performance-regression
  141. uri-sexp = "4.2.0"
  142. validate
  143. virtual_dom >= "v0.16.0"
  144. wamp >= "1.1"
  145. wtr
  146. wtr-ppx

Conflicts

None