2022-06-08 10:01:44 +02:00
|
|
|
[package]
|
|
|
|
name = "garage_db"
|
2024-09-22 14:25:32 +02:00
|
|
|
version = "1.0.1"
|
2022-06-08 10:01:44 +02:00
|
|
|
authors = ["Alex Auvolat <alex@adnab.me>"]
|
|
|
|
edition = "2018"
|
|
|
|
license = "AGPL-3.0"
|
|
|
|
description = "Abstraction over multiple key/value storage engines that supports transactions"
|
|
|
|
repository = "https://git.deuxfleurs.fr/Deuxfleurs/garage"
|
|
|
|
readme = "../../README.md"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
path = "lib.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
2024-02-05 13:02:02 +01:00
|
|
|
err-derive.workspace = true
|
|
|
|
hexdump.workspace = true
|
|
|
|
tracing.workspace = true
|
2022-06-08 10:01:44 +02:00
|
|
|
|
2024-02-05 13:02:02 +01:00
|
|
|
heed = { workspace = true, optional = true }
|
2024-03-14 17:24:53 +01:00
|
|
|
rusqlite = { workspace = true, optional = true, features = ["backup"] }
|
2024-03-18 17:08:54 +01:00
|
|
|
r2d2 = { workspace = true, optional = true }
|
|
|
|
r2d2_sqlite = { workspace = true, optional = true }
|
2022-06-08 10:01:44 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-02-05 13:02:02 +01:00
|
|
|
mktemp.workspace = true
|
2022-06-08 10:01:44 +02:00
|
|
|
|
|
|
|
[features]
|
2024-03-08 14:11:02 +01:00
|
|
|
default = [ "lmdb", "sqlite" ]
|
2023-06-26 11:15:11 +02:00
|
|
|
bundled-libs = [ "rusqlite?/bundled" ]
|
2022-09-06 17:09:43 +02:00
|
|
|
lmdb = [ "heed" ]
|
2024-03-18 17:08:54 +01:00
|
|
|
sqlite = [ "rusqlite", "r2d2", "r2d2_sqlite" ]
|