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. 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. dream_middleware_ext
  61. ezresto
  62. forester >= "4.1.0"
  63. functoria
  64. gemini
  65. git
  66. git-cohttp
  67. git-cohttp-unix
  68. git-kv >= "0.2.0"
  69. git-mirage
  70. git-net
  71. git-paf
  72. git-unix >= "3.2.0"
  73. github
  74. gitlab
  75. gluon
  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. jsonschema
  94. jsonschema-core
  95. kubecaml
  96. lambda-runtime
  97. lambdapi >= "3.0.0"
  98. letsencrypt < "2.0.0"
  99. links
  100. liquidsoap >= "2.1.4"
  101. liquidsoap-core
  102. mechaml >= "1.2.0"
  103. mehari
  104. mehari-eio < "0.3"
  105. memtrace_viewer < "v0.15.0"
  106. miaou-core
  107. migra
  108. minima-theme
  109. mirage >= "4.7.0"
  110. mirage-block-unix
  111. monorobot
  112. moss
  113. naboris
  114. nats-client-async
  115. nbd
  116. nbd-tool
  117. obi
  118. ocaml_openapi_generator
  119. ocplib-json-typed
  120. oidc
  121. omigrate
  122. opam-compiler >= "0.2.1"
  123. opamfu
  124. opium >= "0.19.0"
  125. paf
  126. paf-cohttp
  127. pf-qubes
  128. piaf
  129. picos_io_cohttp
  130. picos_meta
  131. polymarket
  132. pure-html
  133. pxshot
  134. qdrant
  135. raga
  136. rdf
  137. resto
  138. resto-acl
  139. resto-cohttp-client
  140. resto-cohttp-self-serving-client
  141. riot
  142. rss
  143. sarif
  144. satyrographos
  145. savvy
  146. scgi
  147. sentry
  148. server-reason-react
  149. slack
  150. smaws-lib
  151. snf_mcp
  152. spotify-web-api
  153. stog >= "0.17.0"
  154. syndic
  155. testcontainers
  156. textrazor
  157. tezt-performance-regression
  158. uri-bench
  159. uri-re >= "4.4.0"
  160. uri-sexp >= "4.4.0"
  161. validate
  162. vif
  163. virtual_dom >= "v0.16.0"
  164. wamp >= "1.1"
  165. wtr
  166. wtr-ppx

Conflicts

None