mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 00:05:55 +03:00
[GH-ISSUE #1572] Some core::version constants contain "VERGEN_IDEMPOTENT_OUTPUT" instead of something useful. #714
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#714
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kingosticks on GitHub (Sep 5, 2025).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1572
Description
When using librespot as a library, some
core::versionvariables return "VERGEN_IDEMPOTENT_OUTPUT" instead of correct/useful values.Version
All versions of librespot. This issue is due to a dependency.
How to reproduce
cargo init librespot-versioncd librespot-versioncargo add librespotcargo runLog
Host (what you are running
librespoton):Additional context
This is a known limitation of vergen, see https://github.com/rustyhorde/vergen/issues/216. I think
VERSION_STRINGin particular is an issue for us, that one should be more sensible.@photovoltex commented on GitHub (Dec 25, 2025):
What do you think should be the expected behavior?
I have it currently working with fallbacks for
VERGEN_GIT_SHAasstableandVERGEN_GIT_COMMIT_DATEasunknown? Any other suggestion or preference?@photovoltex commented on GitHub (Dec 25, 2025):
I created a PR for it. Let's continue the discussion there :)