From 1a9aa35eae862437dc58f73ecd7e9d271cd979db Mon Sep 17 00:00:00 2001 From: Ahmed Ilyas Date: Wed, 29 May 2024 17:31:07 +0200 Subject: [PATCH] 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. --- crates/uv-workspace/src/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/uv-workspace/src/settings.rs b/crates/uv-workspace/src/settings.rs index 7c78566180c8..c71817494675 100644 --- a/crates/uv-workspace/src/settings.rs +++ b/crates/uv-workspace/src/settings.rs @@ -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,