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. catala-lsp
  35. chatoyant
  36. cohttp >= "2.4.0"
  37. cohttp-async
  38. cohttp-eio
  39. cohttp-lwt >= "4.0.0"
  40. conduit
  41. conduit-async >= "5.1.0"
  42. conduit-lwt-unix
  43. conduit-mirage >= "6.2.2"
  44. cookie
  45. cow
  46. current_examples
  47. current_github
  48. current_slack
  49. current_web
  50. dns < "4.4.1"
  51. dream < "1.0.0~alpha2"
  52. ezresto
  53. gemini
  54. git
  55. git-cohttp
  56. git-cohttp-unix
  57. git-mirage
  58. git-net
  59. git-paf
  60. git-unix >= "3.2.0"
  61. github
  62. gitlab
  63. grpc
  64. httpaf_caged
  65. hvsock >= "2.0.0"
  66. hyper
  67. icalendar
  68. ip2locationio
  69. ip2whois
  70. irmin
  71. irmin-cli
  72. irmin-git
  73. irmin-http
  74. irmin-mirage-git
  75. irmin-mirage-graphql
  76. irmin-server
  77. irmin-unix
  78. json-data-encoding
  79. jsonschema
  80. jsonschema-core
  81. kubecaml
  82. lambda-runtime
  83. lambdapi >= "3.0.0"
  84. letsencrypt < "2.0.0"
  85. links
  86. liquidsoap >= "2.1.4"
  87. liquidsoap-core
  88. mechaml >= "1.2.0"
  89. memtrace_viewer < "v0.15.0"
  90. miaou-core
  91. minima-theme
  92. mirage-block-unix
  93. monorobot
  94. moss
  95. naboris
  96. nats-client-async
  97. nbd
  98. nbd-tool
  99. neodriver_core
  100. obi
  101. ocaml_openapi_generator
  102. ocplib-json-typed
  103. oidc
  104. omigrate
  105. opam-compiler >= "0.2.1"
  106. opamfu
  107. opium >= "0.19.0"
  108. paf
  109. paf-cohttp
  110. pf-qubes
  111. piaf
  112. polymarket
  113. pxshot
  114. qdrant
  115. raga
  116. resto
  117. resto-acl
  118. resto-cohttp-client
  119. resto-cohttp-self-serving-client
  120. satyrographos
  121. savvy
  122. scgi
  123. sentry
  124. slack
  125. snf_mcp
  126. spotify-web-api
  127. stog >= "0.17.0" & < "0.19.0"
  128. syndic
  129. testcontainers
  130. textrazor
  131. tezt-performance-regression
  132. uri-sexp = "4.1.0"
  133. validate
  134. virtual_dom >= "v0.16.0"
  135. wamp >= "1.1"

Conflicts

None