2022-05-18 20:24:09 +00:00
|
|
|
[package]
|
|
|
|
name = "k2v-client"
|
2023-05-16 16:38:31 +00:00
|
|
|
version = "0.0.2"
|
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]
|
2023-01-23 19:14:07 +00:00
|
|
|
base64 = "0.21"
|
2023-01-23 19:30:08 +00:00
|
|
|
http = "0.2"
|
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"
|
2023-01-11 14:17:27 +00:00
|
|
|
hyper-rustls = { version = "0.23", default-features = false, features = [ "http1", "http2", "tls12" ] }
|
2023-01-23 19:30:08 +00:00
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
|
|
|
thiserror = "1.0"
|
2023-05-09 13:33:00 +00:00
|
|
|
tokio = { version = "1.0", default-features = false, features = ["rt", "rt-multi-thread", "io-util", "net", "time", "macros", "sync", "signal", "fs"] }
|
2022-05-18 20:24:09 +00:00
|
|
|
|
|
|
|
# cli deps
|
2023-01-23 19:49:27 +00:00
|
|
|
clap = { version = "4.1", optional = true, features = ["derive", "env"] }
|
2023-05-17 11:01:37 +00:00
|
|
|
format_table = { workspace = true, optional = true }
|
2022-05-18 20:24:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
[features]
|
2023-05-17 11:01:37 +00:00
|
|
|
cli = ["clap", "tokio/fs", "tokio/io-std", "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"]
|