Conditionally compile crypto backend

This commit is contained in:
Jackson Coxson
2025-07-31 11:52:42 -06:00
parent 8549a82b55
commit 1515b1bab4
3 changed files with 39 additions and 11 deletions

View File

@@ -94,7 +94,7 @@ name = "restore_service"
path = "src/restore_service.rs"
[dependencies]
idevice = { path = "../idevice", features = ["full"] }
idevice = { path = "../idevice", features = ["full"], default-features = false }
tokio = { version = "1.43", features = ["full"] }
log = { version = "0.4" }
env_logger = { version = "0.11" }
@@ -105,3 +105,8 @@ clap = { version = "4.5" }
plist = { version = "1.7" }
ns-keyed-archive = "0.1.2"
uuid = "1.16"
[features]
default = ["aws-lc"]
aws-lc = ["idevice/aws-lc"]
ring = ["idevice/ring"]