2022-06-08 08:01:44 +00:00
|
|
|
[package]
|
|
|
|
name = "garage_db"
|
2023-08-28 11:17:26 +00:00
|
|
|
version = "0.8.3"
|
2022-06-08 08:01:44 +00: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"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "convert"
|
|
|
|
path = "bin/convert.rs"
|
|
|
|
required-features = ["cli"]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
err-derive = "0.3"
|
|
|
|
hexdump = "0.1"
|
2023-01-23 22:27:44 +00:00
|
|
|
tracing = "0.1"
|
2022-06-08 08:01:44 +00:00
|
|
|
|
2022-09-06 15:09:43 +00:00
|
|
|
heed = { version = "0.11", default-features = false, features = ["lmdb"], optional = true }
|
2023-08-01 13:25:41 +00:00
|
|
|
rusqlite = { version = "0.29", optional = true }
|
2022-09-06 15:09:43 +00:00
|
|
|
sled = { version = "0.34", optional = true }
|
2022-06-08 08:01:44 +00:00
|
|
|
|
|
|
|
# cli deps
|
2023-01-23 19:49:27 +00:00
|
|
|
clap = { version = "4.1", optional = true, features = ["derive", "env"] }
|
2023-08-27 18:20:01 +00:00
|
|
|
pretty_env_logger = { version = "0.5", optional = true }
|
2022-06-08 08:01:44 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-01-23 22:13:07 +00:00
|
|
|
mktemp = "0.5"
|
2022-06-08 08:01:44 +00:00
|
|
|
|
|
|
|
[features]
|
2023-05-17 12:30:53 +00:00
|
|
|
default = [ "sled", "lmdb", "sqlite" ]
|
2023-06-26 09:15:11 +00:00
|
|
|
bundled-libs = [ "rusqlite?/bundled" ]
|
2022-06-08 08:01:44 +00:00
|
|
|
cli = ["clap", "pretty_env_logger"]
|
2022-09-06 15:09:43 +00:00
|
|
|
lmdb = [ "heed" ]
|
|
|
|
sqlite = [ "rusqlite" ]
|