[dependencies.base64]
version = "0.22.1"
[dependencies.chrono]
features = ["serde"]
version = "0.4.42"
[dependencies.const-oid]
version = "0.9.6"
[dependencies.der]
features = ["alloc", "oid"]
version = "0.7.10"
[dependencies.http]
optional = true
version = "1.4.0"
[dependencies.jsonwebtoken]
features = ["rust_crypto"]
version = "10.2.0"
[dependencies.pem-rfc7468]
version = "1.0.0"
[dependencies.regex]
optional = true
version = "1.12.2"
[dependencies.reqwest]
default-features = false
features = ["json"]
optional = true
version = "0.12.24"
[dependencies.ring]
version = "0.17.14"
[dependencies.serde]
features = ["derive"]
version = "1.0.228"
[dependencies.serde_json]
version = "1.0.147"
[dependencies.serde_repr]
version = "0.1.20"
[dependencies.serde_with]
features = ["chrono"]
version = "3.16.1"
[dependencies.sha1]
version = "0.10.6"
[dependencies.spki]
version = "0.7.3"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.uuid]
features = ["serde", "v4"]
version = "1.19.0"
[dependencies.x509-cert]
features = ["std"]
version = "0.2.5"
[dependencies.x509-ocsp]
optional = true
version = "0.2.1"
[dev-dependencies.jsonwebtoken]
features = ["use_pem"]
version = "10.2.0"
[dev-dependencies.tokio]
features = ["test-util", "macros"]
version = "1.48.0"
[features]
api-client = ["dep:http"]
api-client-reqwest = ["api-client", "dep:reqwest", "reqwest/rustls-tls-native-roots"]
api-client-reqwest-native-tls = ["api-client", "dep:reqwest", "reqwest/default-tls"]
ocsp = ["dep:x509-ocsp", "dep:reqwest", "reqwest/blocking"]
receipt-utility = ["dep:regex"]
[lib]
name = "app_store_server_library"
path = "src/lib.rs"
[package]
authors = ["tkhp", "namecare"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "The Rust server library for the App Store Server API, App Store Server Notifications and Advanced Commerce API"
documentation = "https://docs.rs/app-store-server-library"
edition = "2021"
homepage = "https://github.com/namecare/app-store-server-library-rust"
keywords = ["apple", "appstore", "appstore-server-api", "appstore-receipt", "advanced-commerce"]
license = "MIT"
name = "app-store-server-library"
readme = "README.md"
repository = "https://github.com/namecare/app-store-server-library-rust"
version = "4.2.0"
[[test]]
name = "ac_api_client"
path = "tests/ac_api_client.rs"
required-features = ["api-client"]
[[test]]
name = "ass_api_client"
path = "tests/ass_api_client.rs"
required-features = ["api-client"]
[[test]]
name = "chain_verifier"
path = "tests/chain_verifier.rs"
[[test]]
name = "chain_verifier_ocsp"
path = "tests/chain_verifier_ocsp.rs"
required-features = ["ocsp"]
[[test]]
name = "jws_signature_creator"
path = "tests/jws_signature_creator.rs"
[[test]]
name = "promotional_offer_signature_creator"
path = "tests/promotional_offer_signature_creator.rs"
[[test]]
name = "realtime_response_body_tests"
path = "tests/realtime_response_body_tests.rs"
[[test]]
name = "receipt_utility"
path = "tests/receipt_utility.rs"
[[test]]
name = "rm_api_client"
path = "tests/rm_api_client.rs"
required-features = ["api-client"]
[[test]]
name = "signed_data_verifier"
path = "tests/signed_data_verifier.rs"