[package]
edition = "2021"
name = "app-store-server-library"
version = "4.3.0"
authors = [
"tkhp",
"namecare",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Rust server library for the App Store Server API, App Store Server Notifications and Advanced Commerce API"
homepage = "https://github.com/namecare/app-store-server-library-rust"
documentation = "https://docs.rs/app-store-server-library"
readme = "README.md"
keywords = [
"apple",
"appstore",
"appstore-server-api",
"appstore-receipt",
"advanced-commerce",
]
license = "MIT"
repository = "https://github.com/namecare/app-store-server-library-rust"
[features]
api-client = ["dep:http"]
api-client-reqwest = [
"api-client",
"dep:reqwest",
]
api-client-reqwest-native-tls = [
"api-client",
"dep:reqwest",
"reqwest/native-tls",
]
ocsp = [
"dep:x509-ocsp",
"dep:reqwest",
"reqwest/blocking",
]
receipt-utility = ["dep:regex"]
[lib]
name = "app_store_server_library"
path = "src/lib.rs"
[[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"
[dependencies.base64]
version = "0.22.1"
[dependencies.chrono]
version = "0.4.43"
features = ["serde"]
[dependencies.const-oid]
version = "0.9.6"
[dependencies.der]
version = "0.7.10"
features = [
"alloc",
"oid",
]
[dependencies.http]
version = "1.4.0"
optional = true
[dependencies.jsonwebtoken]
version = "10.3.0"
features = ["rust_crypto"]
[dependencies.p256]
version = "0.13.2"
features = [
"ecdsa",
"pkcs8",
]
[dependencies.p384]
version = "0.13.1"
features = ["ecdsa"]
[dependencies.pem-rfc7468]
version = "1.0.0"
[dependencies.regex]
version = "1.12.3"
optional = true
[dependencies.reqwest]
version = "0.13.1"
features = [
"json",
"http2",
]
optional = true
default-features = false
[dependencies.rsa]
version = "0.9.10"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.serde_repr]
version = "0.1.20"
[dependencies.serde_with]
version = "3.16.1"
features = ["chrono"]
[dependencies.sha1]
version = "0.10.6"
features = ["oid"]
[dependencies.sha2]
version = "0.10.9"
[dependencies.signature]
version = "2.2.0"
[dependencies.spki]
version = "0.7.3"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.uuid]
version = "1.20.0"
features = [
"serde",
"v4",
]
[dependencies.x509-cert]
version = "0.2.5"
features = ["std"]
[dependencies.x509-ocsp]
version = "0.2.1"
features = ["builder"]
optional = true
[dev-dependencies.jsonwebtoken]
version = "10.3.0"
features = ["use_pem"]
[dev-dependencies.tokio]
version = "1.49.0"
features = [
"test-util",
"macros",
]