rustyhorde / vergen

Generate cargo instructions at compile time in build scripts for use with the env! or option_env! macros
Apache License 2.0
396 stars 56 forks source link

Is there a way to determine `--locked`? #378

Open Mirko-von-Leipzig opened 1 month ago

Mirko-von-Leipzig commented 1 month ago

I'm hoping to add the --locked status to the build metadata, would this be possible to add to vergen somehow?

I've tried finding this in rust's flags but so far no luck.