Skip to content

Commit 320fd6e

Browse files
authored
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]>
1 parent da37188 commit 320fd6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/driver_manager/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ windows-sys = { version = ">= 0.59.0", features = [
5050
"Win32_UI_Shell",
5151
"Win32_Globalization",
5252
"Win32_System_Com",
53-
], optional = true }
54-
windows-registry = { version = ">= 0.5.3", optional = true }
53+
] }
54+
windows-registry = { version = ">= 0.5.3" }
5555

5656
[dev-dependencies]
5757
arrow-select.workspace = true

0 commit comments

Comments
 (0)