package uri

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

Install

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

Conflicts

None