forked from Deuxfleurs/garage
42 lines
1.3 KiB
TOML
42 lines
1.3 KiB
TOML
[package]
|
|
name = "k2v-client"
|
|
version = "0.0.4"
|
|
authors = ["Trinity Pointard <trinity.pointard@gmail.com>", "Alex Auvolat <alex@adnab.me>"]
|
|
edition = "2018"
|
|
license = "AGPL-3.0"
|
|
description = "Client library for the Garage K2V protocol"
|
|
repository = "https://git.deuxfleurs.fr/Deuxfleurs/garage"
|
|
readme = "../../README.md"
|
|
|
|
[dependencies]
|
|
base64 = "0.21"
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
http = "0.2"
|
|
log = "0.4"
|
|
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" ] }
|
|
serde_json = "1.0"
|
|
thiserror = "1.0"
|
|
tokio = { version = "1.0", default-features = false, features = ["rt", "rt-multi-thread", "io-util", "net", "time", "macros", "sync", "signal", "fs"] }
|
|
|
|
# cli deps
|
|
clap = { version = "4.1", optional = true, features = ["derive", "env"] }
|
|
format_table = { workspace = true, optional = true }
|
|
tracing = { version = "0.1", optional = true }
|
|
tracing-subscriber = { version = "0.3", optional = true, features = ["env-filter"] }
|
|
|
|
|
|
[features]
|
|
cli = ["clap", "tokio/fs", "tokio/io-std", "tracing", "tracing-subscriber", "format_table"]
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[[bin]]
|
|
name = "k2v-cli"
|
|
path = "bin/k2v-cli.rs"
|
|
required-features = ["cli"]
|