rustyhorde / vergen

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

Document all available variables #220

Closed ctron closed 10 months ago

ctron commented 1 year ago

Maybe I am missing something obvious, but I couldn't easily find an list of variables which are available.

jasonozias commented 1 year ago

There are some on the docs.rs (https://docs.rs/vergen/latest/vergen/index.html#environment-variables) Also here is the complete list (https://docs.rs/vergen/latest/vergen/struct.EmitBuilder.html#method.emit).

I agree this could be more prominent though. I'll likely move the emit docs up to the README.md and higher up in the main page of the docs.

ctron commented 1 year ago

Ah, I didn't find those. Thanks for pointing me to them.

I agree this could be more prominent though. I'll likely move the emit docs up to the README.md and higher up in the main page of the docs.

That would be awesome!

CraZySacX commented 10 months ago

Will be working on docs update to bring some more details up to the top level. Closing this as the main issue was resolved.