[package] name = "apple-xar" version = "0.19.0" authors = ["Gregory Szorc "] edition = "2021" rust-version = "1.78" license = "MPL-2.0" description = "XAR archive reading and writing" keywords = ["apple", "xar"] homepage = "https://github.com/indygreg/apple-platform-rs" repository = "https://github.com/indygreg/apple-platform-rs.git" readme = "README.md" [dependencies] base64 = "0.22.1" bcder = { version = "0.7.4", optional = true } bzip2 = "0.4.4" chrono = { version = "0.4.38", features = ["serde"] } cryptographic-message-syntax = { version = "0.27.0", optional = true } digest = "0.10.7" log = "0.4.22" md-5 = "0.10.6" flate2 = "1.0.34" rand = { version = "0.8.5", optional = true } reqwest = { version = "0.12.9", default-features = false, optional = true } scroll = { version = "0.12.0", features = ["derive"] } serde-xml-rs = "0.6.0" serde = { version = "1.0.214", features = ["derive"] } sha1 = "0.10.6" sha2 = "0.10.8" signature = { version = "2.2.0", features = ["std"], optional = true } thiserror = "1.0.66" url = "2.5.2" xml-rs = "0.8.22" x509-certificate = "0.24.0" xz2 = { version = "0.1.7", features = ["static"] } [features] default = ["signing"] # Enable support for extracting the cryptographic signature in XAR archives. signing = [ "dep:bcder", "dep:cryptographic-message-syntax", "dep:rand", "dep:reqwest", "dep:signature", ]