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

Conflicts

None