2022-05-18 20:24:09 +00:00
|
|
|
[package]
|
|
|
|
name = "k2v-client"
|
2022-07-04 16:27:25 +00:00
|
|
|
version = "0.0.1"
|
|
|
|
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]
|
|
|
|
base64 = "0.13.0"
|
|
|
|
http = "0.2.6"
|
2022-05-24 10:48:05 +00:00
|
|
|
log = "0.4"
|
2022-10-14 16:10:36 +00:00
|
|
|
rusoto_core = { version = "0.48.0", default-features = false, features = ["rustls"] }
|
2022-05-18 20:24:09 +00:00
|
|
|
rusoto_credential = "0.48.0"
|
|
|
|
rusoto_signature = "0.48.0"
|
|
|
|
serde = "1.0.137"
|
|
|
|
serde_json = "1.0.81"
|
|
|
|
thiserror = "1.0.31"
|
|
|
|
tokio = "1.17.0"
|
|
|
|
|
|
|
|
# cli deps
|
|
|
|
clap = { version = "3.1.18", optional = true, features = ["derive", "env"] }
|
2022-09-06 14:47:56 +00:00
|
|
|
garage_util = { version = "0.8.0", path = "../util", optional = true }
|
2022-05-18 20:24:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
[features]
|
|
|
|
cli = ["clap", "tokio/fs", "tokio/io-std", "garage_util"]
|
|
|
|
|
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"]
|