[package] name = "garage_db" version = "0.10.0" authors = ["Alex Auvolat "] 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] err-derive = "0.3" hexdump = "0.1" tracing = "0.1" heed = { version = "0.11", default-features = false, features = ["lmdb"], optional = true } rusqlite = { version = "0.29", optional = true } sled = { version = "0.34", optional = true } # cli deps clap = { version = "4.1", optional = true, features = ["derive", "env"] } pretty_env_logger = { version = "0.5", optional = true } [dev-dependencies] mktemp = "0.5" [features] default = [ "sled", "lmdb", "sqlite" ] bundled-libs = [ "rusqlite?/bundled" ] cli = ["clap", "pretty_env_logger"] lmdb = [ "heed" ] sqlite = [ "rusqlite" ]