mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-01 22:41:16 +00:00
Fix workspace settings - remove deny unknown fields (#3907)
## Summary This PR addresses an issue where `tool.uv` settings are not read if `tool.uv.sources` or `tool.uv.workspaces` are present in the TOML file. ## Test Plan Tested locally.
This commit is contained in:
parent
42b1ba04ec
commit
1a9aa35eae
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ pub(crate) struct Tools {
|
|||
/// A `[tool.uv]` section.
|
||||
#[allow(dead_code)]
|
||||
#[derive(Debug, Clone, Default, Deserialize)]
|
||||
#[serde(deny_unknown_fields, rename_all = "kebab-case")]
|
||||
#[serde(rename_all = "kebab-case")]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
pub struct Options {
|
||||
pub native_tls: Option<bool>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue