Cargo Features

[dependencies]
garage_db = { version = "1.0.1", default-features = false, features = ["bundled-libs", "lmdb", "sqlite"] }
default = lmdb, sqlite

These default features are set whenever garage_db is added without default-features = false somewhere in the dependency tree.

bundled-libs

Enables bundled of optional rusqlite ^0.31.0

lmdb default = heed

Affects garage_db::lmdb_adapter

sqlite default = r2d2, r2d2_sqlite, rusqlite

Affects garage_db::sqlite_adapter

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

heed lmdb

Enables heed ^0.11

rusqlite sqlite

Enables rusqlite ^0.31.0

r2d2 sqlite
r2d2_sqlite sqlite

Enables r2d2_sqlite ^0.24