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
&caqti0.10.1
jbuilder
ocamlfind
ppx_driver
ppx_optcomp>= v0.9.0&v0.11.0
PublishedMar 1, 2018
Source [http] https://github.com/paurkedal/ocaml-caqti/releases/download/v0.10.1/caqti-0.10.1.tbz
7abd1ee41a02eb7483617cbc22b09691
StatisticsInstalled 2 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/caqti-dynload/caqti-dynload.0.10.1/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.