2022-05-18 20:24:09 +00:00
|
|
|
[package]
|
|
|
|
name = "k2v-client"
|
2023-05-22 08:47:15 +00:00
|
|
|
version = "0.0.4"
|
2022-07-04 16:27:25 +00:00
|
|
|
authors = ["Trinity Pointard <trinity.pointard@gmail.com>", "Alex Auvolat <alex@adnab.me>"]
|
2022-05-18 20:24:09 +00:00
|
|
|
edition = "2018"
|
2022-07-04 16:27:25 +00:00
|
|
|
license = "AGPL-3.0"
|
|
|
|
description = "Client library for the Garage K2V protocol"
|
|
|
|
repository = "https://git.deuxfleurs.fr/Deuxfleurs/garage"
|
|
|
|
readme = "../../README.md"
|
2022-05-18 20:24:09 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-02-05 12:02:02 +00:00
|
|
|
base64.workspace = true
|
|
|
|
sha2.workspace = true
|
|
|
|
hex.workspace = true
|
|
|
|
http.workspace = true
|
2024-02-05 18:57:35 +00:00
|
|
|
http-body-util.workspace = true
|
2024-02-05 12:02:02 +00:00
|
|
|
log.workspace = true
|
|
|
|
aws-sigv4.workspace = true
|
2024-02-05 13:02:45 +00:00
|
|
|
aws-sdk-config.workspace = true
|
2024-02-05 12:02:02 +00:00
|
|
|
percent-encoding.workspace = true
|
2024-02-05 18:57:35 +00:00
|
|
|
hyper = { workspace = true, default-features = false, features = ["http1", "http2"] }
|
|
|
|
hyper-util.workspace = true
|
2024-02-05 12:02:02 +00:00
|
|
|
hyper-rustls.workspace = true
|
|
|
|
serde.workspace = true
|
|
|
|
serde_json.workspace = true
|
|
|
|
thiserror.workspace = true
|
|
|
|
tokio.workspace = true
|
2022-05-18 20:24:09 +00:00
|
|
|
|
|
|
|
# cli deps
|
2024-02-05 12:02:02 +00:00
|
|
|
clap = { workspace = true, optional = true }
|
2023-05-17 11:01:37 +00:00
|
|
|
format_table = { workspace = true, optional = true }
|
2024-02-05 12:02:02 +00:00
|
|
|
tracing = { workspace = true, optional = true }
|
|
|
|
tracing-subscriber = { workspace = true, optional = true }
|
2022-05-18 20:24:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
[features]
|
2023-05-17 22:07:54 +00:00
|
|
|
cli = ["clap", "tokio/fs", "tokio/io-std", "tracing", "tracing-subscriber", "format_table"]
|
2022-05-18 20:24:09 +00:00
|
|
|
|
2022-05-24 10:48:05 +00:00
|
|
|
[lib]
|
|
|
|
path = "lib.rs"
|
|
|
|
|
2022-05-18 20:24:09 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "k2v-cli"
|
2022-05-24 10:48:05 +00:00
|
|
|
path = "bin/k2v-cli.rs"
|
2022-05-18 20:24:09 +00:00
|
|
|
required-features = ["cli"]
|