mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 14:36:16 +01:00
Have separate Windows dependency for vendored
This commit is contained in:
@@ -13,7 +13,6 @@ keywords = ["lockdownd", "ios"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { version = "1.43", features = ["io-util", "macros", "time"] }
|
tokio = { version = "1.43", features = ["io-util", "macros", "time"] }
|
||||||
tokio-openssl = { version = "0.6" }
|
tokio-openssl = { version = "0.6" }
|
||||||
openssl = { version = "0.10" }
|
|
||||||
|
|
||||||
plist = { version = "1.7" }
|
plist = { version = "1.7" }
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
@@ -54,5 +53,9 @@ full = [
|
|||||||
"xpc",
|
"xpc",
|
||||||
]
|
]
|
||||||
|
|
||||||
[target.'cfg(target_os = "windows")'.features]
|
# Why: https://github.com/rust-lang/cargo/issues/1197
|
||||||
default = ["openssl/vendored"]
|
[target.'cfg(windows)'.dependencies]
|
||||||
|
openssl = { version = "0.10", features = ["vendored"] }
|
||||||
|
|
||||||
|
[target.'cfg(not(windows))'.dependencies]
|
||||||
|
openssl = { version = "0.10" }
|
||||||
|
|||||||
Reference in New Issue
Block a user