package uri

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uri-v4.2.0.tbz
sha256=c5c013d940dbb6731ea2ee75c2bf991d3435149c3f3659ec2e55476f5473f16b
sha512=119e39bf53db9e94383a4e3a3df492b60b2db097266b3a8660de431ad85bc87997718305972fd2abbfb529973475ce6b210ba5e34d12e85a5dabbb0e24130aa1

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-patterns
  18. bap-plugins
  19. bap-std
  20. bap-trace
  21. bap-traces
  22. beluga >= "1.1"
  23. biocaml
  24. biotk >= "0.2.0"
  25. bizowie-api
  26. bonsai >= "v0.16.0"
  27. builder-web
  28. calculon-web
  29. caldav
  30. camyll >= "0.3.0"
  31. canary < "0.0.4"
  32. capnp-rpc >= "2.1"
  33. capnp-rpc-lwt < "2.0"
  34. capnp-rpc-net
  35. caqti
  36. caqti-driver-postgresql >= "1.9.1"
  37. carbon
  38. cascade >= "1.1.0"
  39. catala-lsp
  40. chatoyant
  41. cohttp >= "2.4.0"
  42. cohttp-async
  43. cohttp-curl-async
  44. cohttp-curl-lwt
  45. cohttp-eio
  46. cohttp-lwt >= "4.0.0"
  47. conduit
  48. conduit-async >= "5.1.0"
  49. conduit-lwt-unix
  50. conduit-mirage >= "6.2.2"
  51. cookie
  52. coq-lsp >= "0.1.5+8.16"
  53. cow
  54. current_examples
  55. current_github
  56. current_slack
  57. current_web
  58. dmarc
  59. dns < "4.4.1"
  60. dream
  61. dream-pure
  62. ezresto
  63. functoria
  64. fxmacrodata
  65. gemini
  66. git
  67. git-cohttp
  68. git-cohttp-unix
  69. git-mirage
  70. git-net
  71. git-paf
  72. git-unix >= "3.2.0"
  73. github
  74. gitlab
  75. grpc
  76. guardian
  77. httpaf_caged
  78. hvsock >= "2.0.0"
  79. hyper
  80. icalendar
  81. ip2locationio
  82. ip2whois
  83. irmin
  84. irmin-cli
  85. irmin-git
  86. irmin-http
  87. irmin-mirage-git
  88. irmin-mirage-graphql
  89. irmin-server
  90. irmin-unix
  91. json-data-encoding
  92. jsonschema
  93. jsonschema-core
  94. kubecaml
  95. lambda-runtime
  96. lambdapi >= "3.0.0"
  97. letsencrypt < "2.0.0"
  98. links
  99. liquidsoap >= "2.1.4"
  100. liquidsoap-core
  101. mechaml >= "1.2.0"
  102. mehari
  103. mehari-eio < "0.3"
  104. memtrace_viewer < "v0.15.0"
  105. miaou-core
  106. minima-theme
  107. mirage >= "4.7.0"
  108. mirage-block-unix
  109. monorobot
  110. moss
  111. naboris
  112. nats-client-async
  113. nbd
  114. nbd-tool
  115. neodriver_core
  116. obi
  117. ocaml_openapi_generator
  118. ocplib-json-typed
  119. oidc
  120. omigrate
  121. opam-compiler >= "0.2.1"
  122. opamfu
  123. opium >= "0.19.0"
  124. paf
  125. paf-cohttp
  126. pf-qubes
  127. piaf
  128. polymarket
  129. pxshot
  130. qdrant
  131. raga
  132. rdf < "1.0.0"
  133. resto
  134. resto-acl
  135. resto-cohttp-client
  136. resto-cohttp-self-serving-client
  137. rss
  138. satyrographos
  139. savvy
  140. scgi
  141. sentry
  142. server-reason-react
  143. slack
  144. smaws-lib
  145. snf_mcp
  146. spotify-web-api
  147. stog >= "0.17.0" & < "1.0.0"
  148. syndic
  149. testcontainers
  150. textrazor
  151. tezt-performance-regression
  152. uri-sexp = "4.2.0"
  153. validate
  154. virtual_dom >= "v0.16.0"
  155. wamp >= "1.1"
  156. wtr
  157. wtr-ppx

Conflicts

None