uv/crates/uv-configuration/src
Charlie Marsh d8cea2fd49
Add `uv export` support for PEP 751 (#12955)
## Summary

This PR adds `uv export` support for [PEP
751](https://peps.python.org/pep-0751). We don't yet expose a way to
consume the generated lockfile, but it's a first step.

The logic to go from `uv.lock` to "flat set of packages to include, with
markers telling us when to include them" is all shared with the
`requirements.txt` export (and extracted in
https://github.com/astral-sh/uv/pull/12956). So most of the code is just
converting from our internal types to the PEP 751 schema.
2025-04-21 21:21:17 +00:00
..
authentication.rs Remove unnecessary prefixes (#10158) 2024-12-25 14:18:01 -05:00
build_options.rs Remove separate test files in favor of same-file `mod tests` (#9199) 2024-11-18 20:11:46 +00:00
concurrency.rs Add `UV_CONCURRENT_INSTALLS` variable in favor of `RAYON_NUM_THREADS` (#3646) 2024-05-17 23:12:37 -04:00
config_settings.rs Align supported Config-settings with example in docs (#12947) 2025-04-17 12:57:53 -04:00
constraints.rs Use a boxed slice for extras and groups (#12391) 2025-03-22 11:53:36 -04:00
dependency_groups.rs add `default-groups = "all"` sugar to `pyproject.toml` (#12289) 2025-03-18 13:42:06 -05:00
dry_run.rs Add `uv sync --check` flag (#12342) 2025-03-21 15:48:27 +00:00
editable.rs Add `--no-editable` support to `uv sync` and `uv export` (#7371) 2024-09-17 14:50:36 +00:00
export_format.rs Add `uv export` support for PEP 751 (#12955) 2025-04-21 21:21:17 +00:00
extras.rs Avoid using owned `String` for package name constructors (#11768) 2025-02-24 23:06:15 -08:00
hash.rs Turn `--verify-hashes` on by default (#9170) 2024-11-18 01:57:54 +00:00
install_options.rs Add `uv-` prefix to all internal crates (#7853) 2024-10-01 20:15:32 -04:00
lib.rs Set 4MB stack size for all threads, introduce `UV_STACK_SIZE` (#12839) 2025-04-16 09:27:46 +02:00
name_specifiers.rs Edition 2024 prep: Escape `r#gen` and remove redundant ref (#11922) 2025-03-03 11:13:56 +00:00
overrides.rs Move lowered requirement source type out of `uv-pypi-types` (#12356) 2025-03-20 21:16:12 -04:00
package_options.rs Use `Box<Path>` in lieu of `PathBuf` for immutable structs (#12346) 2025-03-25 21:56:06 +00:00
preview.rs Add preview mode and use for warning in `uv run` (#3192) 2024-04-22 15:41:15 -05:00
project_build_backend.rs Add `uv-build` and `uv_build` aliases to `uv init --build-backend` (#12776) 2025-04-09 12:33:38 +00:00
required_version.rs Edition 2024 prep: Escape `r#gen` and remove redundant ref (#11922) 2025-03-03 11:13:56 +00:00
sources.rs Retain and respect settings in tool upgrades (#5937) 2024-08-09 18:21:49 +00:00
target_triple.rs fix parsing of `python-platform` in settings tomls (#12592) 2025-04-01 09:08:35 -04:00
threading.rs Set 4MB stack size for all threads, introduce `UV_STACK_SIZE` (#12839) 2025-04-16 09:27:46 +02:00
trusted_host.rs Edition 2024 prep: Escape `r#gen` and remove redundant ref (#11922) 2025-03-03 11:13:56 +00:00
trusted_publishing.rs Implement trusted publishing (#7548) 2024-09-24 16:07:20 +00:00
vcs.rs Make `uv init` resilient against broken git (#12895) 2025-04-17 17:45:25 +02:00