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

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
idevice = { path = "../idevice" }
idevice = { path = "../idevice", default-features = false }
log = "0.4.26"
simplelog = "0.12.2"
once_cell = "1.21.1"
@@ -15,6 +15,10 @@ plist = "1.7.1"
plist_ffi = "0.1.3"
[features]
aws-lc = ["idevice/aws-lc"]
ring = ["idevice/ring"]
afc = ["idevice/afc"]
amfi = ["idevice/amfi"]
core_device = ["idevice/core_device"]
@@ -64,7 +68,7 @@ full = [
"springboardservices",
"syslog_relay",
]
default = ["full"]
default = ["full", "aws-lc"]
[build-dependencies]
cbindgen = "0.29.0"