package uri

  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"

  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. 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. mechaml >= "1.2.0"
  94. memtrace_viewer < "v0.15.0"
  95. miaou-core
  96. minima-theme
  97. mirage-block-unix
  98. monorobot
  99. moss
  100. naboris
  101. nats-client-async
  102. nbd
  103. nbd-tool
  104. neodriver_core
  105. obi
  106. ocaml_openapi_generator
  107. ocplib-json-typed
  108. ohttp-cohttp
  109. ohttp-cohttp-eio
  110. ohttp-cohttp-lwt
  111. ohttp-piaf
  112. oidc
  113. omigrate
  114. opam-compiler >= "0.2.1"
  115. opamfu
  116. opium >= "0.19.0"
  117. paf
  118. paf-cohttp
  119. pf-qubes
  120. piaf
  121. polymarket
  122. pxshot
  123. qdrant
  124. raga
  125. resto
  126. resto-acl
  127. resto-cohttp-client
  128. resto-cohttp-self-serving-client
  129. satyrographos
  130. savvy
  131. scgi
  132. sentry
  133. slack
  134. snf_mcp
  135. spotify-web-api
  136. stog >= "0.17.0" & < "0.19.0"
  137. syndic
  138. testcontainers
  139. textrazor
  140. tezt-performance-regression
  141. uri-sexp = "4.1.0"
  142. validate
  143. verdict
  144. virtual_dom >= "v0.16.0"
  145. wamp >= "1.1"

Conflicts

None