package caqti-dynload

  1. Overview
  2. Docs
Dynamic linking of Caqti drivers using findlib.dynload

Install

Authors

Maintainers

Sources

caqti-v1.2.0.tbz
sha256=bc67a61e9c43f1cd9ab54476bdd4ea6495decd281aececcb4062c29713a7391d
sha512=17018a142bd29be3b503c6b6f5320ec65b3418a46bb82c0127f5ff198890d56bd9e50263ce20930e8c6e0dadb8bdf5f43b6479fc111948d44e3170715e40c290

Description

This library registers a dynamic linker which will be called when encoutering an unhandled database URI. It tries to load a findlib package named "caqti-driver-" where "" is the scheme of the URI, which is expected register a driver for the scheme.

This is a separate package to avoid the dependency on the findlib.dynload for architectures, like MirageOS, where dynamic linking may be unavailable. The alternative is to link drivers directly into the application.

Published: 03 Oct 2019

Dependencies (4)

  1. ocamlfind
  2. dune >= "1.11"
  3. caqti >= "1.2.0" & < "1.3.0~"
  4. ocaml >= "4.04.0"

Dev Dependencies (1)

  1. caqti-driver-sqlite3 with-test & >= "1.0.0" & < "2.0.0~"

Used by (2)

  1. caqti-async >= "1.0.0" & < "2.0.1"
  2. caqti-lwt >= "1.0.0" & < "2.0.1"

Conflicts

None