package uri

Build not checked
  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"

Optional Dependencies

None

  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" | >= "0.5.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. mcp-kit
  106. mechaml >= "1.2.0"
  107. mehari < "0.5"
  108. mehari-eio < "0.3"
  109. memtrace_viewer < "v0.15.0"
  110. miaou-core
  111. minima-theme
  112. mirage >= "4.7.0"
  113. mirage-block-unix
  114. monorobot
  115. moss
  116. naboris
  117. nats-client-async
  118. nbd
  119. nbd-tool
  120. neodriver_core
  121. obi
  122. ocaml_openapi_generator
  123. ocplib-json-typed
  124. ohttp-cohttp
  125. ohttp-cohttp-eio
  126. ohttp-cohttp-lwt
  127. ohttp-piaf
  128. oidc
  129. omigrate
  130. opam-compiler >= "0.2.1"
  131. opamfu
  132. opium >= "0.19.0"
  133. paf
  134. paf-cohttp
  135. pf-qubes
  136. piaf
  137. polymarket
  138. pxshot
  139. qdrant
  140. raga
  141. rdf < "1.0.0"
  142. resto
  143. resto-acl
  144. resto-cohttp-client
  145. resto-cohttp-self-serving-client
  146. rss
  147. satyrographos
  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. testcontainers
  159. textrazor
  160. tezt-performance-regression
  161. uri-sexp = "4.2.0"
  162. validate
  163. verdict
  164. virtual_dom >= "v0.16.0"
  165. wamp >= "1.1"
  166. wtr
  167. wtr-ppx

Conflicts

None

Build status

Results of building uri with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
4.4.0 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure