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

Conflicts

None