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. ip2whois
  85. irmin
  86. irmin-cli
  87. irmin-git >= "2.3.0"
  88. irmin-http >= "2.3.0"
  89. irmin-mirage-git >= "2.3.0"
  90. irmin-mirage-graphql >= "2.3.0"
  91. irmin-server
  92. irmin-unix >= "2.3.0"
  93. json-data-encoding
  94. ketrew
  95. kubecaml
  96. lambda-runtime
  97. letsencrypt >= "0.3.0"
  98. links >= "0.9"
  99. liquidsoap >= "2.1.1" & < "2.2.0"
  100. liquidsoap-core
  101. lsp = "1.12.3"
  102. mechaml >= "1.2.0"
  103. mehari
  104. mehari-eio < "0.3"
  105. memtrace_viewer < "v0.15.0"
  106. message-switch
  107. minima-theme
  108. mirage >= "4.5.0"
  109. mirage-block-unix >= "2.4.0"
  110. monorobot
  111. moss
  112. naboris
  113. nbd >= "2.0.1"
  114. nbd-tool
  115. obi
  116. ocaml-lsp-server = "1.12.3"
  117. ocaml_openapi_generator
  118. ocplib-json-typed
  119. octez-client
  120. octez-internal-libs
  121. octez-libs
  122. octez-node
  123. octez-protocol-001-PtCJ7pwo-libs
  124. octez-protocol-002-PsYLVpVv-libs
  125. octez-protocol-003-PsddFKi3-libs
  126. octez-protocol-004-Pt24m4xi-libs
  127. octez-protocol-005-PsBabyM1-libs
  128. octez-protocol-006-PsCARTHA-libs
  129. octez-protocol-007-PsDELPH1-libs
  130. octez-protocol-008-PtEdo2Zk-libs
  131. octez-protocol-009-PsFLoren-libs
  132. octez-protocol-010-PtGRANAD-libs
  133. octez-protocol-011-PtHangz2-libs
  134. octez-protocol-012-Psithaca-libs
  135. octez-protocol-013-PtJakart-libs
  136. octez-protocol-014-PtKathma-libs
  137. octez-protocol-015-PtLimaPt-libs
  138. octez-protocol-016-PtMumbai-libs
  139. octez-protocol-017-PtNairob-libs
  140. octez-protocol-018-Proxford-libs
  141. octez-protocol-019-PtParisB-libs
  142. octez-protocol-020-PsParisC-libs
  143. octez-protocol-alpha-libs
  144. octez-proxy-server
  145. octez-shell-libs
  146. octez-smart-rollup-client-PtMumbai < "17.1"
  147. octez-tx-rollup-client-PtKathma
  148. octez-tx-rollup-client-PtLimaPt
  149. oidc
  150. omigrate
  151. opam-query
  152. opam2web >= "1.3.0"
  153. opamfu
  154. opium >= "0.19.0"
  155. paf
  156. paf-cohttp
  157. pf-qubes
  158. piaf
  159. rdf >= "0.10.0" & < "1.0.0"
  160. resto
  161. resto-acl
  162. resto-cohttp-client
  163. resto-cohttp-self-serving-client
  164. rss
  165. satyrographos >= "0.0.2.1"
  166. scgi
  167. sentry
  168. server-reason-react
  169. slack
  170. sociaml-facebook-api
  171. sociaml-oauth-client
  172. sociaml-tumblr-api
  173. spotify-web-api
  174. stog >= "0.17.0" & < "1.0.0"
  175. syndic
  176. textrazor
  177. tezos-baking-012-Psithaca >= "14.0"
  178. tezos-baking-012-Psithaca-commands >= "14.0"
  179. tezos-baking-013-PtJakart >= "14.0"
  180. tezos-baking-013-PtJakart-commands >= "14.0"
  181. tezos-baking-014-PtKathma
  182. tezos-baking-014-PtKathma-commands
  183. tezos-baking-015-PtLimaPt
  184. tezos-baking-015-PtLimaPt-commands
  185. tezos-baking-016-PtMumbai
  186. tezos-baking-016-PtMumbai-commands
  187. tezos-baking-017-PtNairob
  188. tezos-baking-017-PtNairob-commands
  189. tezos-baking-alpha >= "14.0"
  190. tezos-baking-alpha-commands >= "14.0"
  191. tezos-base >= "14.0"
  192. tezos-client >= "14.0"
  193. tezos-client-001-PtCJ7pwo >= "14.0"
  194. tezos-client-002-PsYLVpVv >= "14.0"
  195. tezos-client-003-PsddFKi3 >= "14.0"
  196. tezos-client-004-Pt24m4xi >= "14.0"
  197. tezos-client-005-PsBabyM1 >= "14.0"
  198. tezos-client-006-PsCARTHA >= "14.0"
  199. tezos-client-007-PsDELPH1 >= "14.0"
  200. tezos-client-008-PtEdo2Zk >= "14.0"
  201. tezos-client-009-PsFLoren >= "14.0"
  202. tezos-client-010-PtGRANAD >= "14.0"
  203. tezos-client-011-PtHangz2 >= "14.0"
  204. tezos-client-012-Psithaca >= "14.0"
  205. tezos-client-013-PtJakart >= "14.0"
  206. tezos-client-014-PtKathma
  207. tezos-client-015-PtLimaPt
  208. tezos-client-016-PtMumbai
  209. tezos-client-017-PtNairob
  210. tezos-client-alpha >= "14.0"
  211. tezos-client-base >= "14.0"
  212. tezos-client-base-unix >= "14.0"
  213. tezos-client-commands >= "14.0"
  214. tezos-event-logging >= "14.0"
  215. tezos-mockup-proxy >= "14.0"
  216. tezos-mockup-registration >= "14.0"
  217. tezos-node >= "14.0"
  218. tezos-proxy >= "14.0"
  219. tezos-proxy-server >= "14.0"
  220. tezos-proxy-server-config
  221. tezos-rpc >= "14.0"
  222. tezos-rpc-http >= "14.0"
  223. tezos-signer-backends >= "14.0"
  224. tezos-stdlib-unix >= "14.0"
  225. tezos-test-helpers >= "10.2"
  226. tezos-tx-rollup-client-013-PtJakart
  227. tezos-tx-rollup-client-014-PtKathma
  228. tezos-tx-rollup-client-alpha
  229. tezt-performance-regression
  230. tezt-tezos
  231. trakeva >= "0.1.0"
  232. uri-sexp = "4.2.0"
  233. validate
  234. vhd-tool
  235. virtual_dom >= "v0.16.0"
  236. wamp >= "1.1"
  237. wtr
  238. wtr-ppx
  239. xapi-idl
  240. xe
  241. xen-api-client
  242. xentropyd

Conflicts

None

OCaml

Innovation. Community. Security.