caqti-dynload

AuthorPetter A. Urkedal <paurkedal@gmail.com>
LicenseLGPL-3 with OCaml linking exception
Homepagehttps://github.com/paurkedal/ocaml-caqti/
Issue Trackerhttps://github.com/paurkedal/ocaml-caqti/issues
MaintainerPetter A. Urkedal <paurkedal@gmail.com>
Dependencies
&caqti0.11.0
jbuilder>= 1.0+beta19
ocamlfind
Availableocaml-version >= "4.04.0"
PublishedMay 31, 2018
Source [http] https://github.com/paurkedal/ocaml-caqti/releases/download/v0.11.0/caqti-0.11.0.tbz
f749fd41e5c20d20a315f257f6ec7128
StatisticsInstalled 6 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/caqti-dynload/caqti-dynload.0.11.0/opam

Dynamic linking of Caqti drivers using findlib.dynload.

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-<scheme>" where "<scheme>" 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.