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

Conflicts

None