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

Conflicts

None