package uri

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uri-v4.1.0.tbz
sha256=d269901cd27cffaadfa077fe761ef334ad4cdbebeb065faeb833824617ab2ce1
sha512=bf9eb9aa29ced3ae9d39cb3ca8772de118bfe67d8fe2280f213e627f0fef7e80c7703a0dbb7d16c3d23c427866ee6b09c0973e6836e9c3b7225f55597356537c

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. aws
  8. aws-s3
  9. awskit-eio
  10. awskit-lwt
  11. awskit-lwt-unix
  12. awskit-s3
  13. awskit-s3-sim
  14. azblob
  15. azure-cosmos-db
  16. bap-bundle
  17. bap-byteweight
  18. bap-plugins
  19. bap-std
  20. bap-trace
  21. bap-traces
  22. biocaml
  23. bizowie-api
  24. bonsai >= "v0.16.0"
  25. builder-web
  26. calculon-web
  27. caldav
  28. canary < "0.0.4"
  29. capnp-rpc >= "2.1"
  30. capnp-rpc-lwt < "2.0"
  31. capnp-rpc-net
  32. caqti
  33. caqti-driver-postgresql >= "1.9.1"
  34. carbon
  35. cascade >= "1.1.0"
  36. catala-lsp
  37. chatoyant
  38. cohttp >= "2.4.0"
  39. cohttp-async
  40. cohttp-eio
  41. cohttp-lwt >= "4.0.0"
  42. conduit
  43. conduit-async >= "5.1.0"
  44. conduit-lwt-unix
  45. conduit-mirage >= "6.2.2"
  46. cookie
  47. cow
  48. current_examples
  49. current_github
  50. current_slack
  51. current_web
  52. dns < "4.4.1"
  53. dream < "1.0.0~alpha2"
  54. ezresto
  55. fxmacrodata
  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. 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. json-pointer
  83. jsonschema
  84. jsonschema-core
  85. kube
  86. kubecaml
  87. lambda-runtime
  88. lambdapi >= "3.0.0"
  89. letsencrypt < "2.0.0"
  90. links
  91. liquidsoap >= "2.1.4"
  92. liquidsoap-core
  93. mcp-kit
  94. mechaml >= "1.2.0"
  95. memtrace_viewer < "v0.15.0"
  96. miaou-core
  97. minima-theme
  98. mirage-block-unix
  99. monorobot
  100. moss
  101. naboris
  102. nats-client-async
  103. nbd
  104. nbd-tool
  105. neodriver_core
  106. obi
  107. ocaml_openapi_generator
  108. ocplib-json-typed
  109. ohttp-cohttp
  110. ohttp-cohttp-eio
  111. ohttp-cohttp-lwt
  112. ohttp-piaf
  113. oidc
  114. omigrate
  115. opam-compiler >= "0.2.1"
  116. opamfu
  117. opium >= "0.19.0"
  118. paf
  119. paf-cohttp
  120. pf-qubes
  121. piaf
  122. polymarket
  123. pxshot
  124. qdrant
  125. raga
  126. resto
  127. resto-acl
  128. resto-cohttp-client
  129. resto-cohttp-self-serving-client
  130. satyrographos
  131. savvy
  132. scgi
  133. sentry
  134. slack
  135. snf_mcp
  136. spotify-web-api
  137. stog >= "0.17.0" & < "0.19.0"
  138. syndic
  139. testcontainers
  140. textrazor
  141. tezt-performance-regression
  142. uri-sexp = "4.1.0"
  143. validate
  144. verdict
  145. virtual_dom >= "v0.16.0"
  146. wamp >= "1.1"

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