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]
|
2023-01-23 19:14:07 +00:00
|
|
|
base64 = "0.21"
|
2023-05-18 11:04:17 +00:00
|
|
|
sha2 = "0.10"
|
|
|
|
hex = "0.4"
|
2023-01-23 19:30:08 +00:00
|
|
|
http = "0.2"
|
2022-05-24 10:48:05 +00:00
|
|
|
log = "0.4"
|
2023-05-18 11:04:17 +00:00
|
|
|
aws-sigv4 = "0.55"
|
|
|
|
percent-encoding = "2.2"
|
|
|
|
hyper = { version = "0.14", default-features = false, features = ["client", "http1", "http2"] }
|
|
|
|
hyper-rustls = { version = "0.24", features = ["http2"] }
|
|
|
|
serde = { version = "1.0", features = [ "derive" ] }
|
2023-01-23 19:30:08 +00:00
|
|
|
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 }
|
2023-05-17 22:07:54 +00:00
|
|
|
tracing = { version = "0.1", optional = true }
|
|
|
|
tracing-subscriber = { version = "0.3", optional = true, features = ["env-filter"] }
|
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"]
|