package uri

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uri-4.4.0.tbz
sha256=cdabaf6ef5cd2161e59cc7b74c6e4a68ecb80a9f4e96002e338e1b6bf17adec4
sha512=88374143e0d8aaf6d40aa3cbd7593f9832e9c9727738c6e651498125150c83d5646e13b5737d5c3e81484dd041127f67f8acea13fdc0300ac4e46107559f8ae2

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.08.0"

Dev Dependencies (3)

  1. crowbar with-test & >= "0.2"
  2. ppx_sexp_conv with-test & >= "v0.9.0"
  3. ounit2 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. dream_middleware_ext
  62. ezresto
  63. forester >= "4.1.0"
  64. functoria
  65. gemini
  66. git
  67. git-cohttp
  68. git-cohttp-unix
  69. git-kv >= "0.2.0"
  70. git-mirage
  71. git-net
  72. git-paf
  73. git-unix >= "3.2.0"
  74. github
  75. gitlab
  76. gluon
  77. grpc
  78. guardian
  79. httpaf_caged
  80. hvsock >= "2.0.0"
  81. hyper
  82. icalendar
  83. ip2locationio
  84. ip2whois
  85. irmin
  86. irmin-cli
  87. irmin-git
  88. irmin-http
  89. irmin-mirage-git
  90. irmin-mirage-graphql
  91. irmin-server
  92. irmin-unix
  93. json-data-encoding
  94. jsonschema
  95. jsonschema-core
  96. kubecaml
  97. lambda-runtime
  98. lambdapi >= "3.0.0"
  99. letsencrypt < "2.0.0"
  100. links
  101. liquidsoap >= "2.1.4"
  102. liquidsoap-core
  103. mechaml >= "1.2.0"
  104. mehari
  105. mehari-eio < "0.3"
  106. memtrace_viewer < "v0.15.0"
  107. miaou-core
  108. migra
  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. obi
  119. ocaml_openapi_generator
  120. ocplib-json-typed
  121. oidc
  122. omigrate
  123. opam-compiler >= "0.2.1"
  124. opamfu
  125. opium >= "0.19.0"
  126. paf
  127. paf-cohttp
  128. pf-qubes
  129. piaf
  130. picos_io_cohttp
  131. picos_meta
  132. polymarket
  133. pure-html
  134. pxshot
  135. qdrant
  136. raga
  137. rdf
  138. resto
  139. resto-acl
  140. resto-cohttp-client
  141. resto-cohttp-self-serving-client
  142. riot
  143. rss
  144. sarif
  145. satyrographos
  146. savvy
  147. scgi
  148. sentry
  149. server-reason-react
  150. slack
  151. smaws-lib
  152. snf_mcp
  153. spotify-web-api
  154. stog >= "0.17.0"
  155. syndic
  156. testcontainers
  157. textrazor
  158. tezt-performance-regression
  159. uri-bench
  160. uri-re >= "4.4.0"
  161. uri-sexp >= "4.4.0"
  162. validate
  163. vif
  164. virtual_dom >= "v0.16.0"
  165. wamp >= "1.1"
  166. wtr
  167. wtr-ppx

Conflicts

None