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.

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

Conflicts

None