mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
Add reference documentation for resolver settings (#5122)
## Summary First part of https://github.com/astral-sh/uv/issues/5093. Remaining: - Global settings - `pip`-specific settings (some will be copied-over from here) - Auto-generating the "Possible values" for enums
This commit is contained in:
parent
abb6ac5127
commit
616a61a244
5 changed files with 808 additions and 36 deletions
|
@ -92,7 +92,7 @@ pub struct ToolUv {
|
|||
feature = "schemars",
|
||||
schemars(
|
||||
with = "Option<Vec<String>>",
|
||||
description = "PEP 508-style requirements, e.g., `flask==3.0.0`, or `black @ https://...`."
|
||||
description = "PEP 508-style requirements, e.g., `ruff==0.5.0`, or `ruff @ https://...`."
|
||||
)
|
||||
)]
|
||||
pub dev_dependencies: Option<Vec<pep508_rs::Requirement<VerbatimParsedUrl>>>,
|
||||
|
@ -100,7 +100,7 @@ pub struct ToolUv {
|
|||
feature = "schemars",
|
||||
schemars(
|
||||
with = "Option<Vec<String>>",
|
||||
description = "PEP 508 style requirements, e.g. `flask==3.0.0`, or `black @ https://...`."
|
||||
description = "PEP 508 style requirements, e.g. `ruff==0.5.0`, or `ruff @ https://...`."
|
||||
)
|
||||
)]
|
||||
pub override_dependencies: Option<Vec<pep508_rs::Requirement<VerbatimParsedUrl>>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue