Add --emit-build-options flag to uv pip compile interface (#4463)

## Summary

Closes https://github.com/astral-sh/uv/issues/4420.
This commit is contained in:
Charlie Marsh 2024-06-24 15:25:01 +03:00 committed by GitHub
parent cba270f750
commit f07308823e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 148 additions and 13 deletions

View file

@ -577,6 +577,13 @@ pub struct PipCompileArgs {
#[arg(long, overrides_with("emit_find_links"), hide = true)]
pub no_emit_find_links: bool,
/// Include `--no-binary` and `--only-binary` entries in the generated output file.
#[arg(long, overrides_with("no_emit_build_options"))]
pub emit_build_options: bool,
#[arg(long, overrides_with("emit_build_options"), hide = true)]
pub no_emit_build_options: bool,
/// Whether to emit a marker string indicating when it is known that the
/// resulting set of pinned dependencies is valid.
///