package uri

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

Install

Authors

Maintainers

Sources

uri-4.4.0.tbz
sha256=cdabaf6ef5cd2161e59cc7b74c6e4a68ecb80a9f4e96002e338e1b6bf17adec4
sha512=88374143e0d8aaf6d40aa3cbd7593f9832e9c9727738c6e651498125150c83d5646e13b5737d5c3e81484dd041127f67f8acea13fdc0300ac4e46107559f8ae2

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.08.0"

Dev Dependencies (3)

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

Conflicts

None