mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-16 16:58:19 +00:00
76aae3cb96
`parse_duration` is no longer maintained upstream; `fundu-system` seems like the best option to provide most of the functionality provided by parse_duration and minimize deps. Fixes #1246 Dep diffstat: +3 -6 ## Caveats - I've done basically no testing of this PR beyond `cargo test` - See my comment in #1246 for regression risk; this is a breaking change. Is there a document I should update to make note of this? Should I rebase this for `next-v3` instead? - In theory CVE-2021-29932 is fixed by this PR as `fundu-systemd` doesn't support exponents, but I've done no verification that this is really the case beyond the info in #1246 Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1468 Reviewed-by: Alex <lx@deuxfleurs.fr>
62 lines
1.3 KiB
TOML
62 lines
1.3 KiB
TOML
[package]
|
|
name = "garage_util"
|
|
version = "2.3.0"
|
|
authors = ["Alex Auvolat <alex@adnab.me>"]
|
|
edition = "2018"
|
|
license = "AGPL-3.0"
|
|
description = "Utility crate for the Garage object store"
|
|
repository = "https://git.deuxfleurs.fr/Deuxfleurs/garage"
|
|
readme = "../../README.md"
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
garage_db.workspace = true
|
|
garage_net.workspace = true
|
|
|
|
arbitrary = { optional = true, workspace = true }
|
|
arc-swap.workspace = true
|
|
async-trait.workspace = true
|
|
blake2.workspace = true
|
|
bytesize.workspace = true
|
|
fundu.workspace = true
|
|
fundu-systemd.workspace = true
|
|
thiserror.workspace = true
|
|
hexdump.workspace = true
|
|
xxhash-rust.workspace = true
|
|
hex.workspace = true
|
|
lazy_static.workspace = true
|
|
tracing.workspace = true
|
|
rand.workspace = true
|
|
sha2.workspace = true
|
|
|
|
chrono.workspace = true
|
|
rmp-serde.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
toml.workspace = true
|
|
|
|
futures.workspace = true
|
|
tokio.workspace = true
|
|
|
|
http.workspace = true
|
|
hyper.workspace = true
|
|
|
|
opentelemetry.workspace = true
|
|
|
|
[build-dependencies]
|
|
rustc_version.workspace = true
|
|
|
|
[dev-dependencies]
|
|
mktemp.workspace = true
|
|
|
|
[features]
|
|
k2v = []
|
|
arbitrary = ["dep:arbitrary"]
|
|
|
|
[lints]
|
|
workspace = true
|