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. ocaml_openapi_generator
  117. ocplib-json-typed
  118. octez-client
  119. octez-internal-libs
  120. octez-libs
  121. octez-node
  122. octez-protocol-001-PtCJ7pwo-libs
  123. octez-protocol-002-PsYLVpVv-libs
  124. octez-protocol-003-PsddFKi3-libs
  125. octez-protocol-004-Pt24m4xi-libs
  126. octez-protocol-005-PsBabyM1-libs
  127. octez-protocol-006-PsCARTHA-libs
  128. octez-protocol-007-PsDELPH1-libs
  129. octez-protocol-008-PtEdo2Zk-libs
  130. octez-protocol-009-PsFLoren-libs
  131. octez-protocol-010-PtGRANAD-libs
  132. octez-protocol-011-PtHangz2-libs
  133. octez-protocol-012-Psithaca-libs
  134. octez-protocol-013-PtJakart-libs
  135. octez-protocol-014-PtKathma-libs
  136. octez-protocol-015-PtLimaPt-libs
  137. octez-protocol-016-PtMumbai-libs
  138. octez-protocol-017-PtNairob-libs
  139. octez-protocol-018-Proxford-libs
  140. octez-protocol-019-PtParisB-libs
  141. octez-protocol-020-PsParisC-libs
  142. octez-protocol-alpha-libs
  143. octez-proxy-server
  144. octez-shell-libs
  145. octez-smart-rollup-client-PtMumbai < "17.1"
  146. octez-tx-rollup-client-PtKathma
  147. octez-tx-rollup-client-PtLimaPt
  148. oidc
  149. omigrate
  150. opam-query
  151. opam2web >= "1.3.0"
  152. opamfu
  153. opium >= "0.19.0"
  154. paf
  155. paf-cohttp
  156. pf-qubes
  157. piaf
  158. rdf >= "0.10.0" & < "1.0.0"
  159. resto
  160. resto-acl
  161. resto-cohttp-client
  162. resto-cohttp-self-serving-client
  163. rss
  164. satyrographos >= "0.0.2.1"
  165. scgi
  166. sentry
  167. server-reason-react
  168. slack
  169. sociaml-facebook-api
  170. sociaml-oauth-client
  171. sociaml-tumblr-api
  172. spotify-web-api
  173. stog >= "0.17.0" & < "1.0.0"
  174. syndic
  175. textrazor
  176. tezos-baking-012-Psithaca >= "14.0"
  177. tezos-baking-012-Psithaca-commands >= "14.0"
  178. tezos-baking-013-PtJakart >= "14.0"
  179. tezos-baking-013-PtJakart-commands >= "14.0"
  180. tezos-baking-014-PtKathma
  181. tezos-baking-014-PtKathma-commands
  182. tezos-baking-015-PtLimaPt
  183. tezos-baking-015-PtLimaPt-commands
  184. tezos-baking-016-PtMumbai
  185. tezos-baking-016-PtMumbai-commands
  186. tezos-baking-017-PtNairob
  187. tezos-baking-017-PtNairob-commands
  188. tezos-baking-alpha >= "14.0"
  189. tezos-baking-alpha-commands >= "14.0"
  190. tezos-base >= "14.0"
  191. tezos-client >= "14.0"
  192. tezos-client-001-PtCJ7pwo >= "14.0"
  193. tezos-client-002-PsYLVpVv >= "14.0"
  194. tezos-client-003-PsddFKi3 >= "14.0"
  195. tezos-client-004-Pt24m4xi >= "14.0"
  196. tezos-client-005-PsBabyM1 >= "14.0"
  197. tezos-client-006-PsCARTHA >= "14.0"
  198. tezos-client-007-PsDELPH1 >= "14.0"
  199. tezos-client-008-PtEdo2Zk >= "14.0"
  200. tezos-client-009-PsFLoren >= "14.0"
  201. tezos-client-010-PtGRANAD >= "14.0"
  202. tezos-client-011-PtHangz2 >= "14.0"
  203. tezos-client-012-Psithaca >= "14.0"
  204. tezos-client-013-PtJakart >= "14.0"
  205. tezos-client-014-PtKathma
  206. tezos-client-015-PtLimaPt
  207. tezos-client-016-PtMumbai
  208. tezos-client-017-PtNairob
  209. tezos-client-alpha >= "14.0"
  210. tezos-client-base >= "14.0"
  211. tezos-client-base-unix >= "14.0"
  212. tezos-client-commands >= "14.0"
  213. tezos-event-logging >= "14.0"
  214. tezos-mockup-proxy >= "14.0"
  215. tezos-mockup-registration >= "14.0"
  216. tezos-node >= "14.0"
  217. tezos-proxy >= "14.0"
  218. tezos-proxy-server >= "14.0"
  219. tezos-proxy-server-config
  220. tezos-rpc >= "14.0"
  221. tezos-rpc-http >= "14.0"
  222. tezos-signer-backends >= "14.0"
  223. tezos-stdlib-unix >= "14.0"
  224. tezos-test-helpers >= "10.2"
  225. tezos-tx-rollup-client-013-PtJakart
  226. tezos-tx-rollup-client-014-PtKathma
  227. tezos-tx-rollup-client-alpha
  228. tezt-performance-regression
  229. tezt-tezos
  230. trakeva >= "0.1.0"
  231. uri-sexp = "4.2.0"
  232. validate
  233. vhd-tool
  234. virtual_dom >= "v0.16.0"
  235. wamp >= "1.1"
  236. wtr
  237. wtr-ppx
  238. xapi-idl
  239. xe
  240. xen-api-client
  241. xentropyd

Conflicts

None

OCaml

Innovation. Community. Security.