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

Conflicts

None