# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "isideload-apple-codesign"
version = "0.29.5"
authors = ["Nicholas Sharp <nab@nabdev.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust interface to code signing on Apple platforms"
homepage = "https://github.com/nab138/isideload-apple-platform-rs"
readme = "README.md"
keywords = [
    "apple",
    "macos",
    "codesign",
]
license = "MPL-2.0"
repository = "https://github.com/nab138/isideload-apple-platform-rs.git"
resolver = "2"

[features]
default = []
smartcard = ["yubikey"]
wasm = ["ring/wasm32_unknown_unknown_js"]

[lib]
name = "isideload_apple_codesign"
path = "src/lib.rs"

[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"

[dependencies.anyhow]
version = "1.0.93"

[dependencies.apple-bundles]
version = "0.21.0"

[dependencies.apple-flat-package]
version = "0.20.2"
package = "isideload-apple-flat-package"

[dependencies.apple-xar]
version = "0.20.2"
package = "isideload-apple-xar"

[dependencies.base64]
version = "0.22.1"

[dependencies.bcder]
version = "0.7.4"

[dependencies.bitflags]
version = "2.6.0"

[dependencies.bytes]
version = "1.9.0"

[dependencies.chrono]
version = "0.4.38"

[dependencies.clap]
version = "4.5.21"
features = ["derive"]

[dependencies.cryptographic-message-syntax]
version = "0.31.0"
default-features = false
package = "isideload-cryptographic-message-syntax"

[dependencies.der]
version = "0.7.9"
features = ["alloc"]

[dependencies.dialoguer]
version = "0.11.0"

[dependencies.difference]
version = "2.0.0"

[dependencies.digest]
version = "0.10.7"

[dependencies.dirs]
version = "5.0.1"

[dependencies.elliptic-curve]
version = "0.13.8"
features = [
    "arithmetic",
    "pkcs8",
]

[dependencies.env_logger]
version = "0.11.5"

[dependencies.figment]
version = "0.10.19"
features = [
    "env",
    "toml",
]

[dependencies.filetime]
version = "0.2.25"

[dependencies.glob]
version = "0.3.1"

[dependencies.goblin]
version = "0.9.2"

[dependencies.hex]
version = "0.4.3"

[dependencies.log]
version = "0.4.22"

[dependencies.md-5]
version = "0.10.6"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.object]
version = "0.36.5"
features = ["write"]

[dependencies.oid-registry]
version = "0.8.1"

[dependencies.once_cell]
version = "1.20.2"

[dependencies.p12]
version = "0.6.3"

[dependencies.p12-keystore]
version = "0.2.1"

[dependencies.p256]
version = "0.13.2"
features = [
    "arithmetic",
    "pkcs8",
    "std",
]
default-features = false

[dependencies.pem]
version = "3.0.4"

[dependencies.pkcs1]
version = "0.7.5"
features = [
    "alloc",
    "std",
    "pkcs8",
]

[dependencies.pkcs8]
version = "0.10.2"
features = [
    "alloc",
    "std",
]

[dependencies.plist]
version = "1.7.0"

[dependencies.rand]
version = "0.8.5"

[dependencies.rasn]
version = "0.20.2"

[dependencies.rayon]
version = "1.10.0"

[dependencies.regex]
version = "1.11.1"

[dependencies.ring]
version = "0.17.14"

[dependencies.rsa]
version = "0.9.7"

[dependencies.scroll]
version = "0.12.0"

[dependencies.semver]
version = "1.0.23"

[dependencies.serde]
version = "1.0.215"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.133"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.sha2]
version = "0.10.8"

[dependencies.signature]
version = "2.2.0"
features = ["std"]

[dependencies.simple-file-manifest]
version = "0.11.0"
package = "isideload-simple-file-manifest"

[dependencies.spki]
version = "0.7.3"
features = ["pem"]

[dependencies.subtle]
version = "2.6.1"

[dependencies.tempfile]
version = "3.14.0"

[dependencies.thiserror]
version = "2.0.3"

[dependencies.tokio]
version = "1.41.1"
features = ["rt"]

[dependencies.uuid]
version = "1.20.0"
features = ["v4"]

[dependencies.walkdir]
version = "2.5.0"

[dependencies.x509-certificate]
version = "0.26.0"
package = "isideload-x509-certificate"

[dependencies.xml-rs]
version = "0.8.23"

[dependencies.yasna]
version = "0.5.2"

[dependencies.yubikey]
version = "0.8.0"
features = ["untested"]
optional = true

[dependencies.zeroize]
version = "1.8.1"
features = ["zeroize_derive"]

[dependencies.zip]
version = "8"
features = ["deflate"]
default-features = false

[dependencies.zip_structs]
version = "0.2.1"

[dev-dependencies.flate2]
version = "1.0.35"

[dev-dependencies.indoc]
version = "2.0.5"

[dev-dependencies.simple-file-manifest]
version = "0.11.0"
package = "isideload-simple-file-manifest"

[dev-dependencies.tar]
version = "0.4.43"

[dev-dependencies.trycmd-indygreg-fork]
version = "0.14.20"

[dev-dependencies.zip]
version = "8"
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom_02]
version = "0.2"
features = ["js"]
default-features = false
package = "getrandom"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom_04]
version = "0.4"
features = ["wasm_js"]
default-features = false
package = "getrandom"

[target.'cfg(target_os = "macos")'.dependencies.security-framework]
version = "2.11.1"
features = ["OSX_10_12"]

[target.'cfg(target_os = "macos")'.dependencies.security-framework-sys]
version = "2.12.1"
features = ["OSX_10_12"]

[target.'cfg(target_os = "windows")'.dependencies.widestring]
version = "1.1.0"

[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.59.0"
features = [
    "Win32_Foundation",
    "Win32_Security_Cryptography",
]
