Hirevo / alexandrie

An alternative crate registry, implemented in Rust.
https://hirevo.github.io/alexandrie/
Apache License 2.0
493 stars 55 forks source link

Migrate from `shadow-rs` to `built` #160

Closed Hirevo closed 1 year ago

Hirevo commented 1 year ago

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.