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

Conflicts

None