caqti-dynload

AuthorPetter A. Urkedal
LicenseLGPL-3 with OCaml linking exception
Homepagehttps://github.com/paurkedal/ocaml-caqti/
Issue Trackerhttps://github.com/paurkedal/ocaml-caqti/issues
Maintainerpaurkedal@gmail.com
Dependencies
&caqti>= 0.10.2
jbuilder>= 1.0+beta19
ocamlfind
ppx_driver
Availableocaml-version >= "4.04.0"
PublishedApr 11, 2018
Source [http] https://github.com/paurkedal/ocaml-caqti/releases/download/v0.10.2/caqti-0.10.2.tbz
d18745a703da336054c0d27e78f8be8a
StatisticsInstalled 10 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/caqti-dynload/caqti-dynload.0.10.2/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.