-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
51 lines (41 loc) · 1.43 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "app-store-server-library"
description = "The Rust server library for the App Store Server API and App Store Server Notifications"
version = "2.3.0"
repository = "https://github.com/namecare/app-store-server-library-rust"
homepage = "https://github.com/namecare/app-store-server-library-rust"
authors = ["tkhp", "namecare"]
license = "MIT"
readme = "README.md"
documentation = "https://docs.rs/app-store-server-library"
keywords = ["apple", "appstore"]
edition = "2021"
[dependencies]
# Cryptography
x509-parser = { version = "0.16.0", features = ["verify", "validate"] }
jsonwebtoken = { version = "9.3.0" }
ring = "0.17.8"
pem = "3.0.4"
# Serialization
serde = { version = "1.0.205", features = ["derive"] }
serde_json = { version = "1.0.122" }
serde_with = { version = "3.9.0", features = ["chrono"] }
serde_repr = "0.1.19"
uuid = { version = "1.10.0", features = ["serde", "v4"] }
chrono = { version = "0.4.38", features = ["serde"] }
base64 = "0.22.1"
asn1-rs = { version = "0.6.2", optional = true }
# Networking
reqwest = { version = "0.12.5", features = ["json"], optional = true }
# Utils
thiserror = "1.0.63"
# Tools
regex = { version = "1.10.6", optional = true }
url = "2.5.0"
[dev-dependencies]
http = "1.1.0"
tokio = { version = "1.39.2", features = ["test-util", "macros"] }
jsonwebtoken = { version = "9.3.0", features = ["use_pem"] }
[features]
api-client = ["dep:reqwest"]
receipt-utility = ["dep:asn1-rs", "dep:regex"]