Skip to content

Commit 2d0c012

Browse files
committed
Hide vss-client dependency behind cfg flag
Recently, we introduced first steps towards VSS support. Unfortunately, `vss-client` has a build dependency on blocking `reqwest` which defaults to use `native-tls`, pulling in `openssl-sys`, which in turn fails for the Android targets. Here, we preliminarily hide the `vss-client` dependency behind the `cfg(vss)` flag to fix our Android builds.
1 parent 67b079a commit 2d0c012

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ tokio = { version = "1", default-features = false, features = [ "rt-multi-thread
6666
esplora-client = { version = "0.4", default-features = false }
6767
libc = "0.2"
6868
uniffi = { version = "0.23.0", features = ["build"], optional = true }
69+
70+
[target.'cfg(vss)'.dependencies]
6971
vss-client = "0.1"
7072

7173
[target.'cfg(windows)'.dependencies]

0 commit comments

Comments
 (0)