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.

Tags

url uri org:mirage org:xapi-project

Added to opam-repository:

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. a2a-client
  2. amqp-client-async >= "2.1.0"
  3. amqp-client-lwt >= "2.1.0"
  4. archetype < "0.1.5" | >= "1.2.10"
  5. async-uri < "0.2" | = "0.3.0"
  6. async_js
  7. atproto
  8. aws
  9. aws-s3
  10. awskit-eio
  11. awskit-lwt
  12. awskit-lwt-unix
  13. awskit-s3
  14. awskit-s3-sim
  15. azblob
  16. azure-cosmos-db
  17. bap-bundle
  18. bap-byteweight
  19. bap-patterns
  20. bap-plugins
  21. bap-std
  22. bap-trace
  23. bap-traces
  24. beluga >= "1.1"
  25. biocaml
  26. biotk >= "0.2.0"
  27. bizowie-api
  28. bonsai >= "v0.16.0"
  29. builder-web
  30. calculon-web
  31. caldav
  32. camyll >= "0.3.0"
  33. canary < "0.0.4"
  34. capnp-rpc >= "2.1"
  35. capnp-rpc-lwt < "2.0"
  36. capnp-rpc-net
  37. caqti
  38. caqti-driver-postgresql >= "1.9.1"
  39. carbon
  40. cascade >= "1.1.0"
  41. catala-lsp
  42. chatoyant
  43. cohttp >= "2.4.0"
  44. cohttp-async
  45. cohttp-curl-async
  46. cohttp-curl-lwt
  47. cohttp-eio
  48. cohttp-lwt >= "4.0.0"
  49. conduit
  50. conduit-async >= "5.1.0"
  51. conduit-lwt-unix
  52. conduit-mirage >= "6.2.2"
  53. cookie
  54. coq-lsp >= "0.1.5+8.16"
  55. cow
  56. current_examples
  57. current_github
  58. current_slack
  59. current_web
  60. dmarc
  61. dns < "4.4.1"
  62. dream
  63. dream-pure
  64. ezresto
  65. functoria
  66. fxmacrodata
  67. gemini
  68. git
  69. git-cohttp
  70. git-cohttp-unix
  71. git-mirage
  72. git-net
  73. git-paf
  74. git-unix >= "3.2.0"
  75. github
  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
  88. irmin-http
  89. irmin-mirage-git
  90. irmin-mirage-graphql
  91. irmin-server
  92. irmin-unix
  93. json-data-encoding
  94. json-pointer
  95. jsonschema
  96. jsonschema-core
  97. kube
  98. kubecaml
  99. lambda-runtime
  100. lambdapi >= "3.0.0"
  101. letsencrypt < "2.0.0"
  102. links
  103. liquidsoap >= "2.1.4"
  104. liquidsoap-core
  105. mechaml >= "1.2.0"
  106. mehari
  107. mehari-eio < "0.3"
  108. memtrace_viewer < "v0.15.0"
  109. miaou-core
  110. minima-theme
  111. mirage >= "4.7.0"
  112. mirage-block-unix
  113. monorobot
  114. moss
  115. naboris
  116. nats-client-async
  117. nbd
  118. nbd-tool
  119. neodriver_core
  120. obi
  121. ocaml_openapi_generator
  122. ocplib-json-typed
  123. ohttp-cohttp
  124. ohttp-cohttp-eio
  125. ohttp-cohttp-lwt
  126. ohttp-piaf
  127. oidc
  128. omigrate
  129. opam-compiler >= "0.2.1"
  130. opamfu
  131. opium >= "0.19.0"
  132. paf
  133. paf-cohttp
  134. pf-qubes
  135. piaf
  136. polymarket
  137. pxshot
  138. qdrant
  139. raga
  140. rdf < "1.0.0"
  141. resto
  142. resto-acl
  143. resto-cohttp-client
  144. resto-cohttp-self-serving-client
  145. rss
  146. satyrographos
  147. savvy
  148. scgi
  149. sentry
  150. server-reason-react
  151. slack
  152. smaws-lib
  153. snf_mcp
  154. spotify-web-api
  155. stog >= "0.17.0" & < "1.0.0"
  156. syndic
  157. testcontainers
  158. textrazor
  159. tezt-performance-regression
  160. uri-sexp = "4.2.0"
  161. validate
  162. verdict
  163. virtual_dom >= "v0.16.0"
  164. wamp >= "1.1"
  165. wtr
  166. wtr-ppx

Conflicts

None