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. jsonschema
  82. jsonschema-core
  83. kubecaml
  84. lambda-runtime
  85. lambdapi >= "3.0.0"
  86. letsencrypt < "2.0.0"
  87. links
  88. liquidsoap >= "2.1.4"
  89. liquidsoap-core
  90. mechaml >= "1.2.0"
  91. memtrace_viewer < "v0.15.0"
  92. miaou-core
  93. minima-theme
  94. mirage-block-unix
  95. monorobot
  96. moss
  97. naboris
  98. nats-client-async
  99. nbd
  100. nbd-tool
  101. neodriver_core
  102. obi
  103. ocaml_openapi_generator
  104. ocplib-json-typed
  105. oidc
  106. omigrate
  107. opam-compiler >= "0.2.1"
  108. opamfu
  109. opium >= "0.19.0"
  110. paf
  111. paf-cohttp
  112. pf-qubes
  113. piaf
  114. polymarket
  115. pxshot
  116. qdrant
  117. raga
  118. resto
  119. resto-acl
  120. resto-cohttp-client
  121. resto-cohttp-self-serving-client
  122. satyrographos
  123. savvy
  124. scgi
  125. sentry
  126. slack
  127. snf_mcp
  128. spotify-web-api
  129. stog >= "0.17.0" & < "0.19.0"
  130. syndic
  131. testcontainers
  132. textrazor
  133. tezt-performance-regression
  134. uri-sexp = "4.1.0"
  135. validate
  136. virtual_dom >= "v0.16.0"
  137. wamp >= "1.1"

Conflicts

None