[package]
edition = "2021"
name = "restorekit"
version = "0.4.4"
authors = ["Frank Chiarulli Jr. <frank@frankchiarulli.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for DFU-restoring Apple Silicon Macs: DFU trigger, detection, firmware download, and restore"
homepage = "https://github.com/fcjr/restorekit"
readme = "README.md"
keywords = [
"macos",
"dfu",
"restore",
"apple-silicon",
"idevicerestore",
]
categories = [
"command-line-utilities",
"hardware-support",
]
license = "Apache-2.0"
repository = "https://github.com/fcjr/restorekit"
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
[features]
default = ["history"]
history = [
"dep:rusqlite",
"dep:rusqlite_migration",
]
[lib]
name = "restorekit"
path = "src/lib.rs"
[[test]]
name = "history_roundtrip"
path = "tests/history_roundtrip.rs"
[dependencies.futures-core]
version = "0.3"
[dependencies.nusb]
version = "0.2"
[dependencies.plist]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"blocking",
"rustls-tls",
"json",
]
default-features = false
[dependencies.restorekit-sys]
version = "0.4.4"
[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
optional = true
[dependencies.rusqlite_migration]
version = "1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha1]
version = "0.10"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10"
[target.'cfg(target_os = "macos")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.60"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Registry",
"Win32_System_Threading",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
]