package uri

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uri-v4.1.0.tbz
sha256=d269901cd27cffaadfa077fe761ef334ad4cdbebeb065faeb833824617ab2ce1
sha512=bf9eb9aa29ced3ae9d39cb3ca8772de118bfe67d8fe2280f213e627f0fef7e80c7703a0dbb7d16c3d23c427866ee6b09c0973e6836e9c3b7225f55597356537c

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-plugins >= "2.2.0"
  13. bap-std >= "2.2.0"
  14. bap-trace >= "2.2.0"
  15. bap-traces
  16. bap-veri
  17. biocaml
  18. bonsai >= "v0.16.0"
  19. builder-web
  20. calculon-web
  21. caldav
  22. canary
  23. capnp-rpc >= "2.1"
  24. capnp-rpc-lwt < "2.0"
  25. capnp-rpc-net
  26. caqti
  27. caqti-driver-postgresql >= "1.9.1"
  28. carbon
  29. catala-lsp
  30. cohttp >= "2.4.0"
  31. cohttp-async >= "2.4.0"
  32. cohttp-eio
  33. cohttp-lwt >= "4.0.0"
  34. conduit
  35. conduit-async >= "5.1.0"
  36. conduit-lwt-unix
  37. conduit-mirage >= "6.2.2"
  38. cookie
  39. cow
  40. current_examples
  41. current_github
  42. current_slack
  43. current_web
  44. dns < "4.4.1"
  45. dream < "1.0.0~alpha2"
  46. ezresto
  47. gemini
  48. git
  49. git-cohttp
  50. git-cohttp-unix
  51. git-mirage
  52. git-net
  53. git-paf
  54. git-unix >= "3.2.0"
  55. github
  56. gitlab
  57. grpc
  58. httpaf_caged
  59. hvsock >= "2.0.0"
  60. hyper
  61. icalendar
  62. ip2locationio
  63. ip2whois
  64. irmin
  65. irmin-cli
  66. irmin-git
  67. irmin-http
  68. irmin-mirage-git
  69. irmin-mirage-graphql
  70. irmin-server
  71. irmin-unix
  72. json-data-encoding
  73. jsonschema
  74. kubecaml
  75. lambda-runtime
  76. lambdapi >= "3.0.0"
  77. letsencrypt
  78. links
  79. liquidsoap >= "2.1.4"
  80. liquidsoap-core
  81. mechaml >= "1.2.0"
  82. memtrace_viewer < "v0.15.0"
  83. minima-theme
  84. mirage-block-unix
  85. monorobot
  86. moss
  87. naboris
  88. nbd
  89. nbd-tool
  90. obi
  91. ocaml_openapi_generator
  92. ocplib-json-typed
  93. octez-client
  94. octez-internal-libs
  95. octez-libs
  96. octez-node
  97. octez-protocol-001-PtCJ7pwo-libs
  98. octez-protocol-002-PsYLVpVv-libs
  99. octez-protocol-003-PsddFKi3-libs
  100. octez-protocol-004-Pt24m4xi-libs
  101. octez-protocol-005-PsBabyM1-libs
  102. octez-protocol-006-PsCARTHA-libs
  103. octez-protocol-007-PsDELPH1-libs
  104. octez-protocol-008-PtEdo2Zk-libs
  105. octez-protocol-009-PsFLoren-libs
  106. octez-protocol-010-PtGRANAD-libs
  107. octez-protocol-011-PtHangz2-libs
  108. octez-protocol-012-Psithaca-libs
  109. octez-protocol-013-PtJakart-libs
  110. octez-protocol-014-PtKathma-libs
  111. octez-protocol-015-PtLimaPt-libs
  112. octez-protocol-016-PtMumbai-libs
  113. octez-protocol-017-PtNairob-libs
  114. octez-protocol-018-Proxford-libs
  115. octez-protocol-019-PtParisB-libs
  116. octez-protocol-020-PsParisC-libs
  117. octez-protocol-alpha-libs
  118. octez-proxy-server
  119. octez-shell-libs
  120. octez-smart-rollup-client-PtMumbai < "17.3"
  121. octez-tx-rollup-client-PtLimaPt
  122. oidc
  123. omigrate
  124. opam-compiler >= "0.2.1"
  125. opamfu
  126. opium >= "0.19.0"
  127. paf
  128. paf-cohttp
  129. pf-qubes
  130. piaf
  131. raga
  132. rdf < "0.12.0"
  133. resto
  134. resto-acl
  135. resto-cohttp-client
  136. resto-cohttp-self-serving-client
  137. satyrographos >= "0.0.2.1"
  138. savvy
  139. scgi
  140. sentry
  141. slack
  142. snf_mcp
  143. spotify-web-api
  144. stog >= "0.17.0" & < "0.19.0"
  145. syndic
  146. textrazor
  147. tezos-baking-015-PtLimaPt
  148. tezos-baking-015-PtLimaPt-commands
  149. tezos-baking-016-PtMumbai
  150. tezos-baking-016-PtMumbai-commands
  151. tezos-baking-017-PtNairob
  152. tezos-baking-017-PtNairob-commands
  153. tezos-baking-alpha
  154. tezos-baking-alpha-commands
  155. tezos-base >= "16.0"
  156. tezos-client-001-PtCJ7pwo
  157. tezos-client-002-PsYLVpVv
  158. tezos-client-003-PsddFKi3
  159. tezos-client-004-Pt24m4xi
  160. tezos-client-005-PsBabyM1
  161. tezos-client-006-PsCARTHA
  162. tezos-client-007-PsDELPH1
  163. tezos-client-008-PtEdo2Zk
  164. tezos-client-009-PsFLoren
  165. tezos-client-010-PtGRANAD
  166. tezos-client-011-PtHangz2
  167. tezos-client-012-Psithaca
  168. tezos-client-013-PtJakart
  169. tezos-client-014-PtKathma
  170. tezos-client-015-PtLimaPt
  171. tezos-client-016-PtMumbai
  172. tezos-client-017-PtNairob
  173. tezos-client-alpha
  174. tezos-client-base
  175. tezos-client-base-unix
  176. tezos-client-commands
  177. tezos-event-logging >= "16.0"
  178. tezos-mockup-proxy
  179. tezos-mockup-registration
  180. tezos-proxy
  181. tezos-proxy-server-config
  182. tezos-rpc >= "16.0"
  183. tezos-rpc-http >= "16.0"
  184. tezos-signer-backends
  185. tezos-stdlib-unix >= "16.0"
  186. tezos-test-helpers
  187. tezt-performance-regression
  188. tezt-tezos
  189. uri-sexp = "4.1.0"
  190. validate
  191. virtual_dom >= "v0.16.0"
  192. wamp >= "1.1"

Conflicts

None