package uri

  1. Overview
  2. Docs
An RFC3986 URI/URL parsing library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uri-v4.0.0.tbz
sha256=000d9928877581c4f2fe6e02dee41db9cc4cb1f21e383f3b6ee3a7eadfb4298f
sha512=954b082b9409717bd59164b8a03196af9320f60fcb529bf885ba1771a4097aaf6c4cc3769e1d7b8be5239bfb690119b53b6a3fa6282a5ac5a5544119d82b1b7e

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

Conflicts

None