This PR migrates Alexandrie from using the shadow-rs crate to using the built crate for embedding build information into the resulting binary.
The main reason for this change is that built allows to embed the specific Cargo features that were used for the build, which is useful for us to reproduce issues since Alexandrie can be built with various combinations of feature flags.
So now, the features used for the build show up both in the logs at startup and when running alexandrie --version.
This PR migrates Alexandrie from using the
shadow-rs
crate to using thebuilt
crate for embedding build information into the resulting binary.The main reason for this change is that
built
allows to embed the specific Cargo features that were used for the build, which is useful for us to reproduce issues since Alexandrie can be built with various combinations of feature flags.So now, the features used for the build show up both in the logs at startup and when running
alexandrie --version
.