Skip to content

remove lighthouse_version from all library crate deps#63

Open
dapplion wants to merge 1 commit into
unstablefrom
remove-lh-version-lib-deps
Open

remove lighthouse_version from all library crate deps#63
dapplion wants to merge 1 commit into
unstablefrom
remove-lh-version-lib-deps

Conversation

@dapplion
Copy link
Copy Markdown
Owner

Thread version strings from top-level binaries into library crates via config structs and Context objects. This eliminates cargo cache invalidation on every git commit caused by git_version!() macro.

lighthouse_version now only appears as a [dependency] in the lighthouse and lcli binaries, and as a [dev-dependency] in beacon_chain (for test assertions).

Issue Addressed

Which issue # does this PR address?

Proposed Changes

Please list or describe the changes introduced by this PR.

Additional Info

Please provide any additional information. For example, future considerations
or information useful for reviewers.

Thread version strings from top-level binaries into library crates
via config structs and Context objects. This eliminates cargo cache
invalidation on every git commit caused by git_version!() macro.

lighthouse_version now only appears as a [dependency] in the
lighthouse and lcli binaries, and as a [dev-dependency] in
beacon_chain (for test assertions).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant