package uri

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

Install

Dune 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

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. arakoon >= "1.9.0"
  4. archetype < "0.1.5" | >= "1.2.10"
  5. async-uri < "0.2" | = "0.3.0"
  6. async_js >= "v0.13.0"
  7. aws >= "1.0.0"
  8. aws-s3 >= "4.0.0"
  9. azblob
  10. azure-cosmos-db
  11. bap >= "0.9.4" & < "1.0.0"
  12. bap-bundle
  13. bap-byteweight >= "2.2.0"
  14. bap-patterns
  15. bap-plugins >= "2.2.0"
  16. bap-server
  17. bap-std < "2.0.0" | >= "2.2.0"
  18. bap-trace >= "2.2.0"
  19. bap-traces
  20. bap-veri
  21. beluga >= "1.1"
  22. biocaml >= "0.4.0"
  23. biotk >= "0.2.0"
  24. bonsai >= "v0.16.0"
  25. bt
  26. builder-web
  27. calculon-web
  28. caldav
  29. camyll >= "0.3.0"
  30. canary
  31. capnp-rpc-lwt >= "0.2"
  32. capnp-rpc-net
  33. caqti
  34. caqti-driver-postgresql >= "1.9.1"
  35. carbon
  36. cohttp >= "2.1.3"
  37. cohttp-async >= "2.1.3"
  38. cohttp-curl-async
  39. cohttp-curl-lwt
  40. cohttp-eio
  41. cohttp-lwt >= "4.0.0"
  42. conduit >= "1.3.0" & != "3.0.0"
  43. conduit-async = "2.3.0" | >= "4.0.0"
  44. conduit-lwt-unix
  45. conduit-mirage = "2.3.0" | >= "4.0.0"
  46. cookie
  47. coq-lsp >= "0.1.5+8.16"
  48. cow >= "0.5.4"
  49. current_examples >= "0.4"
  50. current_github >= "0.4"
  51. current_slack >= "0.4"
  52. current_web >= "0.4"
  53. datakit
  54. datakit-bridge-github
  55. datakit-ci >= "1.0.0"
  56. datakit-client < "0.11.0"
  57. datakit-github
  58. datakit-server < "0.11.0"
  59. dns < "0.7.0" | >= "1.0.0" & < "4.0.0"
  60. doi2bib = "0.4.0"
  61. dream
  62. dream-pure
  63. dropbox < "0.2"
  64. ezresto
  65. facebook-sdk
  66. functoria >= "4.0.0~beta1"
  67. gemini
  68. git
  69. git-cohttp
  70. git-cohttp-mirage
  71. git-cohttp-unix
  72. git-mirage >= "3.7.0"
  73. git-paf
  74. git-unix >= "3.0.0"
  75. github >= "0.3.1"
  76. gitlab
  77. grpc
  78. guardian
  79. httpaf_caged
  80. hvsock >= "2.0.0"
  81. hyper
  82. icalendar
  83. ip2locationio
  84. irmin
  85. irmin-cli
  86. irmin-git >= "2.3.0"
  87. irmin-http >= "2.3.0"
  88. irmin-mirage-git >= "2.3.0"
  89. irmin-mirage-graphql >= "2.3.0"
  90. irmin-server
  91. irmin-unix >= "2.3.0"
  92. json-data-encoding
  93. ketrew
  94. kubecaml
  95. lambda-runtime
  96. letsencrypt >= "0.3.0"
  97. links >= "0.9"
  98. liquidsoap >= "2.1.1" & < "2.2.0"
  99. liquidsoap-core
  100. lsp = "1.12.3"
  101. mechaml >= "1.2.0"
  102. mehari
  103. mehari-eio < "0.3"
  104. memtrace_viewer < "v0.15.0"
  105. message-switch
  106. minima-theme
  107. mirage >= "4.5.0"
  108. mirage-block-unix >= "2.4.0"
  109. monorobot
  110. moss
  111. naboris
  112. nbd >= "2.0.1"
  113. nbd-tool
  114. obi
  115. ocaml-lsp-server = "1.12.3"
  116. ocplib-json-typed
  117. octez-client
  118. octez-libs
  119. octez-node
  120. octez-protocol-001-PtCJ7pwo-libs
  121. octez-protocol-002-PsYLVpVv-libs
  122. octez-protocol-003-PsddFKi3-libs
  123. octez-protocol-004-Pt24m4xi-libs
  124. octez-protocol-005-PsBabyM1-libs
  125. octez-protocol-006-PsCARTHA-libs
  126. octez-protocol-007-PsDELPH1-libs
  127. octez-protocol-008-PtEdo2Zk-libs
  128. octez-protocol-009-PsFLoren-libs
  129. octez-protocol-010-PtGRANAD-libs
  130. octez-protocol-011-PtHangz2-libs
  131. octez-protocol-012-Psithaca-libs
  132. octez-protocol-013-PtJakart-libs
  133. octez-protocol-014-PtKathma-libs
  134. octez-protocol-015-PtLimaPt-libs
  135. octez-protocol-016-PtMumbai-libs
  136. octez-protocol-017-PtNairob-libs
  137. octez-protocol-018-Proxford-libs
  138. octez-protocol-alpha-libs
  139. octez-proxy-server
  140. octez-shell-libs
  141. octez-smart-rollup-client-PtMumbai < "17.1"
  142. octez-tx-rollup-client-PtKathma
  143. octez-tx-rollup-client-PtLimaPt
  144. oidc
  145. omigrate
  146. opam-query
  147. opam2web >= "1.3.0"
  148. opamfu
  149. opium >= "0.19.0"
  150. paf
  151. paf-cohttp
  152. pf-qubes
  153. piaf
  154. rdf >= "0.10.0" & < "1.0.0"
  155. resto
  156. resto-acl
  157. resto-cohttp-client
  158. resto-cohttp-self-serving-client
  159. rss
  160. satyrographos >= "0.0.2.1"
  161. scgi
  162. sentry
  163. server-reason-react
  164. slack
  165. sociaml-facebook-api
  166. sociaml-oauth-client
  167. sociaml-tumblr-api
  168. spotify-web-api
  169. stog >= "0.17.0" & < "1.0.0"
  170. syndic
  171. textrazor
  172. tezos-baking-012-Psithaca >= "14.0"
  173. tezos-baking-012-Psithaca-commands >= "14.0"
  174. tezos-baking-013-PtJakart >= "14.0"
  175. tezos-baking-013-PtJakart-commands >= "14.0"
  176. tezos-baking-014-PtKathma
  177. tezos-baking-014-PtKathma-commands
  178. tezos-baking-015-PtLimaPt
  179. tezos-baking-015-PtLimaPt-commands
  180. tezos-baking-016-PtMumbai
  181. tezos-baking-016-PtMumbai-commands
  182. tezos-baking-017-PtNairob
  183. tezos-baking-017-PtNairob-commands
  184. tezos-baking-alpha >= "14.0"
  185. tezos-baking-alpha-commands >= "14.0"
  186. tezos-base >= "14.0"
  187. tezos-client >= "14.0"
  188. tezos-client-001-PtCJ7pwo >= "14.0"
  189. tezos-client-002-PsYLVpVv >= "14.0"
  190. tezos-client-003-PsddFKi3 >= "14.0"
  191. tezos-client-004-Pt24m4xi >= "14.0"
  192. tezos-client-005-PsBabyM1 >= "14.0"
  193. tezos-client-006-PsCARTHA >= "14.0"
  194. tezos-client-007-PsDELPH1 >= "14.0"
  195. tezos-client-008-PtEdo2Zk >= "14.0"
  196. tezos-client-009-PsFLoren >= "14.0"
  197. tezos-client-010-PtGRANAD >= "14.0"
  198. tezos-client-011-PtHangz2 >= "14.0"
  199. tezos-client-012-Psithaca >= "14.0"
  200. tezos-client-013-PtJakart >= "14.0"
  201. tezos-client-014-PtKathma
  202. tezos-client-015-PtLimaPt
  203. tezos-client-016-PtMumbai
  204. tezos-client-017-PtNairob
  205. tezos-client-alpha >= "14.0"
  206. tezos-client-base >= "14.0"
  207. tezos-client-base-unix >= "14.0"
  208. tezos-client-commands >= "14.0"
  209. tezos-event-logging >= "14.0"
  210. tezos-mockup-proxy >= "14.0"
  211. tezos-mockup-registration >= "14.0"
  212. tezos-node >= "14.0"
  213. tezos-proxy >= "14.0"
  214. tezos-proxy-server >= "14.0"
  215. tezos-proxy-server-config
  216. tezos-rpc >= "14.0"
  217. tezos-rpc-http >= "14.0"
  218. tezos-signer-backends >= "14.0"
  219. tezos-stdlib-unix >= "14.0"
  220. tezos-test-helpers >= "10.2"
  221. tezos-tx-rollup-client-013-PtJakart
  222. tezos-tx-rollup-client-014-PtKathma
  223. tezos-tx-rollup-client-alpha
  224. tezt-performance-regression
  225. tezt-tezos
  226. trakeva >= "0.1.0"
  227. uri-sexp = "4.2.0"
  228. validate
  229. vhd-tool
  230. virtual_dom >= "v0.16.0"
  231. wamp >= "1.1"
  232. wtr
  233. wtr-ppx
  234. xapi-idl
  235. xe
  236. xen-api-client
  237. xentropyd

Conflicts

None