mirror of
https://github.com/max-sixty/worktrunk.git
synced 2026-09-14 20:00:38 +08:00
e947b8708a
Bumps [vergen-gitcl](https://github.com/rustyhorde/vergen) from 9.1.0 to 10.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rustyhorde/vergen/releases">vergen-gitcl's releases</a>.</em></p> <blockquote> <h2>vergen 10.0.0</h2> <p>Major release of the <code>vergen</code> suite (<code>vergen</code>, <code>vergen-lib</code>, <code>vergen-git2</code>, <code>vergen-gitcl</code>, <code>vergen-gix</code>, <code>vergen-pretty</code>).</p> <h3>Highlights</h3> <ul> <li><strong>MSRV raised to 1.95.0</strong> (<a href="https://redirect.github.com/rustyhorde/vergen/issues/496">#496</a>, prior bumps via <a href="https://redirect.github.com/rustyhorde/vergen/issues/487">#487</a>, <a href="https://redirect.github.com/rustyhorde/vergen/issues/440">#440</a>).</li> <li><strong>Raw Unix-seconds timestamps</strong> — emit build timestamps as raw Unix seconds (<a href="https://redirect.github.com/rustyhorde/vergen/issues/444">#444</a>).</li> <li><strong><code>SOURCE_DATE_EPOCH</code> decoupling</strong> plus a <code>.cargo_vcs_info.json</code> fallback for reproducible builds when building from a published crate without a git repo (<a href="https://redirect.github.com/rustyhorde/vergen/issues/452">#452</a>, <a href="https://redirect.github.com/rustyhorde/vergen/issues/448">#448</a>).</li> <li><strong>Remote URL support</strong> for git functionality (<a href="https://redirect.github.com/rustyhorde/vergen/issues/459">#459</a>).</li> <li><strong><code>GIT_DIRTY</code></strong> instruction documented and dirty-output fixes for <code>vergen-gix</code> (<a href="https://redirect.github.com/rustyhorde/vergen/issues/465">#465</a>, <a href="https://redirect.github.com/rustyhorde/vergen/issues/423">#423</a>).</li> </ul> <h3>Internal / maintenance</h3> <ul> <li>Replaced <code>getset</code> with hand-written getters in <code>vergen-lib</code> (<a href="https://redirect.github.com/rustyhorde/vergen/issues/491">#491</a>).</li> <li>Removed <code>bincode</code> from <code>vergen-pretty</code> (<a href="https://redirect.github.com/rustyhorde/vergen/issues/481">#481</a>).</li> <li>Added a <code>cargo-semver-checks</code> CI job (<a href="https://redirect.github.com/rustyhorde/vergen/issues/478">#478</a>).</li> <li>Numerous dependency updates, including <code>gix</code> bumps to address RUSTSEC advisories (<a href="https://redirect.github.com/rustyhorde/vergen/issues/473">#473</a>, <a href="https://redirect.github.com/rustyhorde/vergen/issues/488">#488</a>, <a href="https://redirect.github.com/rustyhorde/vergen/issues/490">#490</a>).</li> <li>CI: skip coverage jobs for forked PRs (<a href="https://redirect.github.com/rustyhorde/vergen/issues/492">#492</a>), pinning + parallelization (<a href="https://redirect.github.com/rustyhorde/vergen/issues/496">#496</a>).</li> <li>Lint and doc fixes across the workspace.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/rustyhorde/vergen/compare/vergen_9.0.6...v10.0.0">https://github.com/rustyhorde/vergen/compare/vergen_9.0.6...v10.0.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/rustyhorde/vergen/commits/v10.0.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: worktrunk-bot <worktrunk-bot@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
9 lines
242 B
Rust
9 lines
242 B
Rust
use std::error::Error;
|
|
use vergen_gitcl::{Emitter, Gitcl};
|
|
|
|
pub fn main() -> Result<(), Box<dyn Error>> {
|
|
let git = Gitcl::builder().describe(true, true, None).build();
|
|
Emitter::default().add_instructions(&git)?.emit()?;
|
|
Ok(())
|
|
}
|