Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump vergen from 3.2.0 to 5.0.0 #1916

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 17, 2021

Bumps vergen from 3.2.0 to 5.0.0.

Release notes

Sourced from vergen's releases.

v5.0.0

  • Removed the deprecated gen in lieu of vergen
  • Removed ConstantsFlags in lieu of Config

v4.2.0

  • gen -> vergen. Deprecated gen entry point as a result of the ConstantsFlags deprecation.
  • ConstantsFlags -> Config. ContantsFlags was growing bloated and needed some extra logic, so migrated to a Config style.
  • Added some more configuration around date/time handling. You can now specify Local vs. UTC for time, and can output date only, time only, timestamp only, or and combination of the three, for date related instructions.

v4.1.0

  • Added cargo feature to allow getting the target triple, profile, and current feature set at build time.
  • Updated some documentation

v4.0.3

  • Updated rustc_version dependency to be at least version 0.3.1 to avoid compilation issues with llvm_version which was added then.

v4.0.2

  • Removed some transitive dependencies from the git2 crate (specifically openssl-sys) via the default-features = false flag to allow for running on more diverse systems.

v4.0.1

  • Documentation updates

v4.0.0

Release 4.0 Breaking Changes

  • The main entry point for use has changed from generate_cargo_keys to gen
  • There are now 3 features that allow you to control what instructions can be generated (build, git, and rustc).
    • The build feature enables the VERGEN_BUILD_* instructions.
    • The git feature enables the VERGEN_GIT_* instructions, the cargo:rerun-if-changed instructions, and the REBUILD_ON_HEAD_CHANGE flag.
    • The rustc feature enables the VERGEN_RUSTC_* instructions.
    • By default, all three features are enabled.
    • You can build with all three features disabled, which basically make the gen function a no-op.
    • You can still use ConstantsFlags to toggle individual cargo instructions.
  • The generated instructions have been normalized. Therefore, you may need to update what env variable you are referring to in code. I've included a list below of the full set of instructions that can be generated for reference.
cargo:rustc-env=VERGEN_BUILD_DATE=2021-02-12
cargo:rustc-env=VERGEN_BUILD_TIMESTAMP=2021-02-12T01:54:15.134750+00:00
cargo:rustc-env=VERGEN_GIT_BRANCH=feature/git2
cargo:rustc-env=VERGEN_GIT_COMMIT_DATE=2021-02-11T20:05:53-05:00
cargo:rustc-env=VERGEN_GIT_SEMVER=v3.2.0-86-g95fc0f5
cargo:rustc-env=VERGEN_GIT_SEMVER_LIGHTWEIGHT=blah-33-g95fc0f5
cargo:rustc-env=VERGEN_GIT_SHA=95fc0f5d066710f16e0c23ce3239d6e040abca0d
cargo:rustc-env=VERGEN_GIT_SHA_SHORT=95fc0f5
cargo:rustc-env=VERGEN_RUSTC_CHANNEL=nightly
cargo:rustc-env=VERGEN_RUSTC_COMMIT_DATE=2021-02-10
cargo:rustc-env=VERGEN_RUSTC_COMMIT_HASH=07194ffcd25b0871ce560b9f702e52db27ac9f77
cargo:rustc-env=VERGEN_RUSTC_HOST_TRIPLE=x86_64-apple-darwin
cargo:rustc-env=VERGEN_RUSTC_LLVM_VERSION=11.0
cargo:rustc-env=VERGEN_RUSTC_SEMVER=1.52.0-nightly
cargo:rerun-if-changed=/Users/yoda/projects/rust-lang/vergen/.git/HEAD
</tr></table> 

... (truncated)

Commits
  • 22a2a26 version bump for next release, docs, lints (#55)
  • dcea966 Removed deprecated 'gen' and 'ConstantsFlags' (#53)
  • bf86b11 fixed bad lint name
  • a19a3dd Fixed broken nightly_lints attribute, so test should run now
  • e955ce9 Fixed broken rustc test, segregated nightly only lints
  • 66d6b66 version bump for next release (#52)
  • d42d9ed added no-op test
  • 1ccfcec testing
  • f3a07a4 Replace ConstantsFlags with Config (#51)
  • f49246c Re-order some things
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually

Bumps [vergen](https://github.com/rustyhorde/vergen) from 3.2.0 to 5.0.0.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](rustyhorde/vergen@v3.2.0...5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added A-dependencies Area: Dependency file updates A-infrastructure Area: Infrastructure changes A-rust Area: Updates to Rust code labels Mar 17, 2021
@dependabot dependabot bot requested a review from dconnolly March 17, 2021 00:41
@dconnolly dconnolly closed this Mar 17, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 17, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/vergen-5.0.0 branch March 17, 2021 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dependencies Area: Dependency file updates A-infrastructure Area: Infrastructure changes A-rust Area: Updates to Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant