Skip to content

Commit 2ad1df4

Browse files
committed
Bump futures-util to bump winapi to work around "error: type HKEY__ is private" on Windows.
1 parent e01134a commit 2ad1df4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ anstyle = "=1.0.1"
1313
time = "=0.3.23"
1414
domain = { version = "0.10.1-dev", git = "https://github.com/NLnetLabs/domain.git", features = [ "net", "unstable-client-transport", "unstable-server-transport", "unstable-zonetree", "unstable-validator", "zonefile", "tokio-rustls", "tokio-stream" ] }
1515
futures = { version = "0.3" }
16-
futures-util = "0"
16+
futures-util = "0.3"
1717
octseq = "0.2"
1818
#rustls = "0.26"
1919
serde = { version = "1.0.188", features = ["derive" ] }
@@ -25,6 +25,7 @@ webpki-roots = "0.26"
2525
toml = "0.8.19"
2626
serde-aux = "4.5.0"
2727
rustls-pemfile = "2.2.0"
28+
winapi = "^0.3"
2829

2930
# Work around for error when compiling on MacOS:
3031
# error[E0433]: failed to resolve: use of undeclared crate or module `syntax`
@@ -33,7 +34,5 @@ regex = "1.7.1"
3334

3435
# Work around for errors when compiling on Windows:
3536
[target.'cfg(windows)'.dependencies]
36-
# error: type `HKEY__` is private
37-
winapi = "0.3"
3837
# error: couldn't determine visual studio generator
3938
cc = "1.2"

0 commit comments

Comments
 (0)