2020-04-24 10:10:01 +00:00
|
|
|
[package]
|
|
|
|
name = "garage"
|
2023-08-28 11:17:26 +00:00
|
|
|
version = "0.8.3"
|
2020-04-24 10:10:01 +00:00
|
|
|
authors = ["Alex Auvolat <alex@adnab.me>"]
|
|
|
|
edition = "2018"
|
2021-03-18 20:59:17 +00:00
|
|
|
license = "AGPL-3.0"
|
2020-07-07 12:14:58 +00:00
|
|
|
description = "Garage, an S3-compatible distributed object store for self-hosted deployments"
|
|
|
|
repository = "https://git.deuxfleurs.fr/Deuxfleurs/garage"
|
2021-11-09 11:24:04 +00:00
|
|
|
readme = "../../README.md"
|
2020-04-24 10:10:01 +00:00
|
|
|
|
2022-02-02 15:07:26 +00:00
|
|
|
autotests = false
|
|
|
|
|
2020-04-24 10:10:01 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "garage"
|
|
|
|
path = "main.rs"
|
|
|
|
|
2022-02-02 14:35:52 +00:00
|
|
|
[[test]]
|
|
|
|
name = "integration"
|
|
|
|
path = "tests/lib.rs"
|
|
|
|
|
2020-04-24 10:10:01 +00:00
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-05-17 11:01:37 +00:00
|
|
|
format_table.workspace = true
|
2023-05-07 16:12:01 +00:00
|
|
|
garage_db.workspace = true
|
|
|
|
garage_api.workspace = true
|
|
|
|
garage_block.workspace = true
|
|
|
|
garage_model.workspace = true
|
|
|
|
garage_rpc.workspace = true
|
|
|
|
garage_table.workspace = true
|
|
|
|
garage_util.workspace = true
|
|
|
|
garage_web.workspace = true
|
2020-04-24 10:10:01 +00:00
|
|
|
|
2022-11-04 15:33:05 +00:00
|
|
|
backtrace = "0.3"
|
2021-03-16 14:58:40 +00:00
|
|
|
bytes = "1.0"
|
2023-08-01 13:20:39 +00:00
|
|
|
bytesize = "1.2"
|
2023-05-06 22:51:31 +00:00
|
|
|
timeago = { version = "0.4", default-features = false }
|
2022-11-04 10:55:59 +00:00
|
|
|
parse_duration = "2.1"
|
2021-03-16 14:58:40 +00:00
|
|
|
hex = "0.4"
|
2023-01-23 22:27:44 +00:00
|
|
|
tracing = { version = "0.1" }
|
2022-08-31 12:39:12 +00:00
|
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
2021-03-18 20:59:17 +00:00
|
|
|
rand = "0.8"
|
2021-10-14 09:50:12 +00:00
|
|
|
async-trait = "0.1.7"
|
|
|
|
sodiumoxide = { version = "0.2.5-0", package = "kuska-sodiumoxide" }
|
2023-05-03 14:43:08 +00:00
|
|
|
git-version = "0.3.4"
|
2020-04-24 10:10:01 +00:00
|
|
|
|
|
|
|
serde = { version = "1.0", default-features = false, features = ["derive", "rc"] }
|
2021-12-17 10:53:13 +00:00
|
|
|
serde_bytes = "0.11"
|
2021-03-18 20:59:17 +00:00
|
|
|
structopt = { version = "0.3", default-features = false }
|
2023-01-23 22:00:17 +00:00
|
|
|
toml = "0.6"
|
2020-04-24 10:10:01 +00:00
|
|
|
|
|
|
|
futures = "0.3"
|
|
|
|
futures-util = "0.3"
|
2021-03-15 21:36:41 +00:00
|
|
|
tokio = { version = "1.0", default-features = false, features = ["rt", "rt-multi-thread", "io-util", "net", "time", "macros", "sync", "signal", "fs"] }
|
2021-10-14 09:50:12 +00:00
|
|
|
|
2022-09-13 11:11:44 +00:00
|
|
|
netapp = "0.5"
|
2022-02-02 14:35:52 +00:00
|
|
|
|
2022-05-24 10:16:39 +00:00
|
|
|
opentelemetry = { version = "0.17", features = [ "rt-tokio" ] }
|
2022-09-03 22:43:48 +00:00
|
|
|
opentelemetry-prometheus = { version = "0.10", optional = true }
|
2022-09-03 21:40:44 +00:00
|
|
|
opentelemetry-otlp = { version = "0.10", optional = true }
|
2022-09-03 22:43:48 +00:00
|
|
|
prometheus = { version = "0.13", optional = true }
|
2022-05-24 10:16:39 +00:00
|
|
|
|
2022-02-02 14:35:52 +00:00
|
|
|
[dev-dependencies]
|
2023-05-05 20:17:19 +00:00
|
|
|
aws-config = "0.55.2"
|
|
|
|
aws-sdk-s3 = "0.28"
|
2022-03-11 16:35:08 +00:00
|
|
|
chrono = "0.4"
|
2022-02-02 14:35:52 +00:00
|
|
|
http = "0.2"
|
2022-07-22 16:55:52 +00:00
|
|
|
hmac = "0.12"
|
2022-03-04 17:33:18 +00:00
|
|
|
hyper = { version = "0.14", features = ["client", "http1", "runtime"] }
|
2022-07-18 15:18:47 +00:00
|
|
|
sha2 = "0.10"
|
2022-02-02 14:35:52 +00:00
|
|
|
|
|
|
|
static_init = "1.0"
|
2022-05-10 11:16:57 +00:00
|
|
|
assert-json-diff = "2.0"
|
|
|
|
serde_json = "1.0"
|
2023-01-23 19:14:07 +00:00
|
|
|
base64 = "0.21"
|
2022-05-10 11:16:57 +00:00
|
|
|
|
2023-05-19 10:52:14 +00:00
|
|
|
k2v-client.workspace = true
|
|
|
|
|
2022-05-10 11:16:57 +00:00
|
|
|
|
|
|
|
[features]
|
2023-01-03 13:44:47 +00:00
|
|
|
default = [ "bundled-libs", "metrics", "sled", "k2v" ]
|
2022-09-06 15:09:43 +00:00
|
|
|
|
2022-05-10 11:16:57 +00:00
|
|
|
k2v = [ "garage_util/k2v", "garage_api/k2v" ]
|
2022-09-06 15:09:43 +00:00
|
|
|
|
|
|
|
# Database engines, Sled is still our default even though we don't like it
|
|
|
|
sled = [ "garage_model/sled" ]
|
|
|
|
lmdb = [ "garage_model/lmdb" ]
|
|
|
|
sqlite = [ "garage_model/sqlite" ]
|
|
|
|
|
2022-10-18 16:38:20 +00:00
|
|
|
# Automatic registration and discovery via Consul API
|
|
|
|
consul-discovery = [ "garage_rpc/consul-discovery" ]
|
2022-09-06 15:09:43 +00:00
|
|
|
# Automatic registration and discovery via Kubernetes API
|
|
|
|
kubernetes-discovery = [ "garage_rpc/kubernetes-discovery" ]
|
2022-09-03 22:43:48 +00:00
|
|
|
# Prometheus exporter (/metrics endpoint).
|
|
|
|
metrics = [ "garage_api/metrics", "opentelemetry-prometheus", "prometheus" ]
|
2022-09-03 21:40:44 +00:00
|
|
|
# Exporter for the OpenTelemetry Collector.
|
2022-09-06 15:25:44 +00:00
|
|
|
telemetry-otlp = [ "opentelemetry-otlp" ]
|
2022-09-03 17:05:32 +00:00
|
|
|
|
|
|
|
# NOTE: bundled-libs and system-libs should be treat as mutually exclusive;
|
|
|
|
# exactly one of them should be enabled.
|
|
|
|
|
|
|
|
# Use bundled libsqlite instead of linking against system-provided.
|
|
|
|
bundled-libs = [ "garage_db/bundled-libs" ]
|
|
|
|
# Link against system-provided libsodium and libzstd.
|
2022-09-03 16:37:24 +00:00
|
|
|
system-libs = [ "garage_block/system-libs", "garage_rpc/system-libs", "sodiumoxide/use-pkg-config" ]
|