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

Conflicts

None