package caqti-dynload

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

Install

Authors

Maintainers

Sources

caqti-v2.0.1.tbz
sha256=7eb57225c521fe25395653d960b1c381bb2b2ccae47bc2a827bb16611988da8b
sha512=eeafaf495b08fb8620ddee1711b8f9fa2ca0c79fb450a905c8d071806b7046d665e1e2ac0e7d3c7ca1258455decbf184e689e9ecb2453ec9d952b864f9dd14f4

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: 22 Aug 2023

Dependencies (4)

  1. ocamlfind
  2. ocaml >= "4.04.0"
  3. dune >= "2.5"
  4. caqti >= "2.0.0" & < "3.0.0~"

Dev Dependencies (3)

  1. cmdliner with-test & >= "1.1.0"
  2. caqti-driver-sqlite3 with-test & >= "2.0.0" & < "3.0.0~"
  3. alcotest with-test & >= "1.5.0"

Used by (3)

  1. caqti-async >= "2.0.1"
  2. caqti-eio
  3. caqti-lwt >= "2.0.1"

Conflicts

None