From ed4a9472828e226ce8b3dc54b619228ccf30000d Mon Sep 17 00:00:00 2001 From: Metbcy Date: Tue, 28 Apr 2026 21:14:13 -0700 Subject: [PATCH] chore(deps): add humantime as a v0.5 wiring placeholder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds humantime ^2 to runtime dependencies. Currently unused; the intent is to humanize maintainer-age "X days ago" formatting in the rendered output once the v0.5 calibration work picks it up. Pulling it in as a separate PR rather than bundling with the v0.5 feature commit lets the dogfood SBOM-diff workflow on bomdrift's own repo (introduced in 60e772d) exercise the action's end-to-end Added-component path on a real Cargo dep change. This PR is the first dogfood test — if the action works, the comment showing humantime@2.3.0 as an Added component should appear below. If the demo lands cleanly, this PR can either be merged (humantime sits as a no-op runtime dep until v0.5 wires it) or reverted with a "demo successful, reverting until actually used" note. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Cargo.lock | 7 +++++++ Cargo.toml | 1 + 2 files changed, 8 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index d1997c4..a25eea0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -120,6 +120,7 @@ dependencies = [ "clap", "criterion", "directories", + "humantime", "owo-colors", "proptest", "serde", @@ -445,6 +446,12 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" +[[package]] +name = "humantime" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424" + [[package]] name = "icu_collections" version = "2.1.1" diff --git a/Cargo.toml b/Cargo.toml index c79840f..e2bfc30 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,6 +27,7 @@ anyhow = "1" thiserror = "2" ureq = { version = "2", features = ["json"] } strsim = "0.11" +humantime = "2" owo-colors = { version = "4", features = ["supports-colors"] } supports-color = "3" directories = "6"