[package]
edition = "2024"
name = "apple"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for Apple Sign-In authentication, CloudKit Web Services, and App Store Server API"
readme = "README.md"
keywords = [
"apple",
"authentication",
"cloudkit",
"appstore",
"jwt",
]
categories = [
"authentication",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/meszmate/apple-rs"
[features]
appstore = [
"chrono",
"x509-cert",
]
auth = []
cloudkit = [
"sha2",
"chrono",
]
default = [
"auth",
"cloudkit",
]
[lib]
name = "apple"
path = "src/lib.rs"
[[test]]
name = "auth_tests"
path = "tests/auth_tests.rs"
[[test]]
name = "cloudkit_client_tests"
path = "tests/cloudkit_client_tests.rs"
[[test]]
name = "cloudkit_error_tests"
path = "tests/cloudkit_error_tests.rs"
[[test]]
name = "cloudkit_query_tests"
path = "tests/cloudkit_query_tests.rs"
[[test]]
name = "cloudkit_types_tests"
path = "tests/cloudkit_types_tests.rs"
[[test]]
name = "error_tests"
path = "tests/error_tests.rs"
[[test]]
name = "signing_tests"
path = "tests/signing_tests.rs"
[[test]]
name = "url_tests"
path = "tests/url_tests.rs"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
optional = true
[dependencies.futures]
version = "0.3"
[dependencies.jsonwebtoken]
version = "9"
[dependencies.p256]
version = "0.13"
[dependencies.pem]
version = "3"
[dependencies.reqwest]
version = "0.12"
features = ["json"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
optional = true
[dependencies.url]
version = "2.2"
[dependencies.x509-cert]
version = "0.2"
optional = true
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]