# 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 = "2021" rust-version = "1.78" name = "apple-codesign" version = "0.28.0" authors = ["Gregory Szorc "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Pure Rust interface to code signing on Apple platforms" homepage = "https://github.com/indygreg/apple-platform-rs" readme = "README.md" keywords = [ "apple", "macos", "codesign", ] license = "MPL-2.0" repository = "https://github.com/indygreg/apple-platform-rs.git" [lib] name = "apple_codesign" path = "src/lib.rs" [[bin]] name = "rcodesign" path = "src/main.rs" [[test]] name = "cli_tests" path = "tests/cli_tests.rs" [dependencies.anyhow] version = "1.0.92" [dependencies.app-store-connect] version = "0.6.0" optional = true [dependencies.apple-bundles] version = "0.20.0" [dependencies.apple-flat-package] version = "0.19.0" [dependencies.apple-xar] version = "0.19.0" [dependencies.aws-config] version = "1.5.9" optional = true [dependencies.aws-sdk-s3] version = "1.24.0" optional = true [dependencies.aws-smithy-http] version = "0.60.11" optional = true [dependencies.aws-smithy-types] version = "1.2.8" optional = true [dependencies.base64] version = "0.22.1" [dependencies.bcder] version = "0.7.4" [dependencies.bitflags] version = "2.6.0" [dependencies.bytes] version = "1.8.0" [dependencies.chrono] version = "0.4.38" [dependencies.clap] version = "4.4.18" features = ["derive"] [dependencies.cryptographic-message-syntax] version = "0.27.0" [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.minicbor] version = "0.24.4" features = [ "derive", "std", ] [dependencies.num-traits] version = "0.2.19" [dependencies.object] version = "0.36.5" features = ["write"] [dependencies.oid-registry] version = "0.7.1" [dependencies.once_cell] version = "1.20.2" [dependencies.p12] version = "0.6.3" [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.reqwest] version = "0.12.9" features = [ "blocking", "http2", "json", "rustls-tls-native-roots", ] default-features = false [dependencies.ring] version = "0.17.8" [dependencies.rsa] version = "0.9.6" [dependencies.scroll] version = "0.12.0" [dependencies.semver] version = "1.0.23" [dependencies.serde] version = "1.0.214" features = ["derive"] [dependencies.serde_json] version = "1.0.132" [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" [dependencies.spake2] version = "0.4.0" [dependencies.spki] version = "0.7.3" features = ["pem"] [dependencies.subtle] version = "2.6.1" [dependencies.tempfile] version = "3.13.0" [dependencies.thiserror] version = "1.0.66" [dependencies.tokio] version = "1.41.0" features = ["rt"] [dependencies.tungstenite] version = "0.24.0" features = ["rustls-tls-native-roots"] [dependencies.uuid] version = "1.11.0" features = ["v4"] [dependencies.walkdir] version = "2.5.0" [dependencies.x509] version = "0.2.0" [dependencies.x509-certificate] version = "0.24.0" [dependencies.xml-rs] version = "0.8.22" [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 = "2.2.0" features = ["deflate"] default-features = false [dependencies.zip_structs] version = "0.2.1" [dev-dependencies.flate2] version = "1.0.34" [dev-dependencies.indoc] version = "2.0.5" [dev-dependencies.simple-file-manifest] version = "0.11.0" [dev-dependencies.tar] version = "0.4.43" [dev-dependencies.trycmd-indygreg-fork] version = "0.14.20" [dev-dependencies.zip] version = "2.2.0" default-features = false [features] default = ["notarize"] notarize = [ "app-store-connect", "aws-config", "aws-sdk-s3", "aws-smithy-http", "aws-smithy-types", ] smartcard = ["yubikey"] [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.0" 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", ]