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

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

Conflicts

None

OCaml

Innovation. Community. Security.