garage/src/db
Jakub Jirutka 7511ba5530 Allow linking against system-provided libsqlite
Unfortunately, rusqlite uses the opposite logic for enabling/disabling
bundled libraries to others (libsodium-sys, zstd-sys). Cargo features
are very limited and doesn't allow to enable feature A in a dependency
iff feature B is disabled.

Note, lmdb-rkv-sys doesn't need any special treatment because it
automatically links against system liblmdb if found via pkgconf.

Linux distros should build garage with
`--no-default-features --features system-libs` to disable bundled-libs
and enable system-libs.
2022-09-03 19:15:57 +02:00
..
bin Fix garage_db build on 32-bit systems 2022-06-09 14:55:20 +02:00
Cargo.toml Allow linking against system-provided libsqlite 2022-09-03 19:15:57 +02:00
counted_tree_hack.rs Abstract database behind generic interface and implement alternative drivers (#322) 2022-06-08 10:01:44 +02:00
lib.rs Uniformize tracing::* imports (hopefully fixes 32-bit build) 2022-07-15 18:31:19 +02:00
lmdb_adapter.rs Uniformize tracing::* imports (hopefully fixes 32-bit build) 2022-07-15 18:31:19 +02:00
sled_adapter.rs improve internal item counter mechanisms and implement bucket quotas (#326) 2022-06-15 20:20:28 +02:00
sqlite_adapter.rs Uniformize tracing::* imports (hopefully fixes 32-bit build) 2022-07-15 18:31:19 +02:00
test.rs Abstract database behind generic interface and implement alternative drivers (#322) 2022-06-08 10:01:44 +02:00