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.

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. obi
  100. ocaml_openapi_generator
  101. ocplib-json-typed
  102. oidc
  103. omigrate
  104. opam-compiler >= "0.2.1"
  105. opamfu
  106. opium >= "0.19.0"
  107. paf
  108. paf-cohttp
  109. pf-qubes
  110. piaf
  111. polymarket
  112. pxshot
  113. qdrant
  114. raga
  115. resto
  116. resto-acl
  117. resto-cohttp-client
  118. resto-cohttp-self-serving-client
  119. satyrographos
  120. savvy
  121. scgi
  122. sentry
  123. slack
  124. snf_mcp
  125. spotify-web-api
  126. stog >= "0.17.0" & < "0.19.0"
  127. syndic
  128. testcontainers
  129. textrazor
  130. tezt-performance-regression
  131. uri-sexp = "4.1.0"
  132. validate
  133. virtual_dom >= "v0.16.0"
  134. wamp >= "1.1"

Conflicts

None