This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 320fd6ef4 fix(rust/driver_manager): remove optional property for
windows deps (#3693)
320fd6ef4 is described below
commit 320fd6ef490b7e3dc9ebcd00e982b82cd660dafc
Author: Pavel Agafonov <[email protected]>
AuthorDate: Mon Nov 10 02:38:04 2025 +0300
fix(rust/driver_manager): remove optional property for windows deps (#3693)
Hi there! When using the `adbc_driver_manager` crate on Windows, it's
impossible to build the project because the `adbc_driver_manager`
dependency fails to compile. Windows crates are marked as optional and
are not included in any of the crate's features. To make it work, the
`optional` flag needs to be removed.
Signed-off-by: Pavel Agafonov <[email protected]>
---
rust/driver_manager/Cargo.toml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rust/driver_manager/Cargo.toml b/rust/driver_manager/Cargo.toml
index 80bfb2987..1609a499e 100644
--- a/rust/driver_manager/Cargo.toml
+++ b/rust/driver_manager/Cargo.toml
@@ -50,8 +50,8 @@ windows-sys = { version = ">= 0.59.0", features = [
"Win32_UI_Shell",
"Win32_Globalization",
"Win32_System_Com",
-], optional = true }
-windows-registry = { version = ">= 0.5.3", optional = true }
+] }
+windows-registry = { version = ">= 0.5.3" }
[dev-dependencies]
arrow-select.workspace = true