-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathCargo.toml
123 lines (114 loc) · 4 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[package]
name = "router"
description = "Modern, fast and open payment router"
version = "0.2.0"
edition = "2021"
default-run = "router"
rust-version = "1.65"
readme = "README.md"
license = "Apache-2.0"
build = "src/build.rs"
[features]
default = ["kv_store", "stripe", "oltp", "olap", "accounts_cache"]
s3 = ["dep:aws-sdk-s3","dep:aws-config"]
kms = ["external_services/kms","dep:aws-config"]
basilisk = ["kms"]
stripe = ["dep:serde_qs"]
sandbox = ["kms", "stripe", "basilisk", "s3"]
production = ["kms", "stripe", "basilisk", "s3"]
olap = []
oltp = []
kv_store = []
accounts_cache = []
openapi = ["olap", "oltp"]
vergen = ["router_env/vergen"]
multiple_mca = ["api_models/multiple_mca"]
dummy_connector = ["api_models/dummy_connector"]
external_access_dc = ["dummy_connector"]
[dependencies]
actix = "0.13.0"
actix-cors = "0.6.4"
actix-rt = "2.8.0"
actix-web = "4.3.1"
async-bb8-diesel = { git = "https://github.com/juspay/async-bb8-diesel", rev = "9a71d142726dbc33f41c1fd935ddaa79841c7be5" }
async-trait = "0.1.68"
base64 = "0.21.0"
bb8 = "0.8"
blake3 = "1.3.3"
bytes = "1.4.0"
clap = { version = "4.2.2", default-features = false, features = ["std", "derive", "help", "usage"] }
config = { version = "0.13.3", features = ["toml"] }
crc32fast = "1.3.2"
diesel = { version = "2.0.3", features = ["postgres"] }
dyn-clone = "1.0.11"
encoding_rs = "0.8.32"
error-stack = "0.3.1"
frunk = "0.4.1"
frunk_core = "0.4.1"
futures = "0.3.28"
hex = "0.4.3"
http = "0.2.9"
josekit = "0.8.2"
jsonwebtoken = "8.3.0"
literally = "0.1.3"
maud = { version = "0.25", features = ["actix-web"] }
mimalloc = { version = "0.1", optional = true }
mime = "0.3.17"
moka = { version = "0.10", features = ["future"] }
nanoid = "0.4.0"
num_cpus = "1.15.0"
once_cell = "1.17.1"
rand = "0.8.5"
regex = "1.7.3"
reqwest = { version = "0.11.16", features = ["json", "native-tls", "gzip", "multipart"] }
ring = "0.16.20"
serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0.96"
serde_path_to_error = "0.1.11"
serde_qs = { version = "0.12.0", optional = true }
serde_urlencoded = "0.7.1"
serde_with = "2.3.2"
signal-hook = "0.3.15"
strum = { version = "0.24.1", features = ["derive"] }
thiserror = "1.0.40"
time = { version = "0.3.20", features = ["serde", "serde-well-known", "std"] }
tokio = { version = "1.27.0", features = ["macros", "rt-multi-thread"] }
url = { version = "2.3.1", features = ["serde"] }
utoipa = { version = "3.3.0", features = ["preserve_order", "time"] }
utoipa-swagger-ui = { version = "3.1.3", features = ["actix-web"] }
uuid = { version = "1.3.1", features = ["serde", "v4"] }
# First party crates
api_models = { version = "0.1.0", path = "../api_models", features = ["errors"] }
common_utils = { version = "0.1.0", path = "../common_utils", features = ["signals", "async_ext"] }
cards = { version = "0.1.0", path = "../cards" }
external_services = { version = "0.1.0", path = "../external_services" }
masking = { version = "0.1.0", path = "../masking" }
redis_interface = { version = "0.1.0", path = "../redis_interface" }
router_derive = { version = "0.1.0", path = "../router_derive" }
router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra_implicit_fields", "log_custom_entries_to_extra"] }
storage_models = { version = "0.1.0", path = "../storage_models", features = ["kv_store"] }
actix-multipart = "0.6.0"
aws-sdk-s3 = { version = "0.25.0", optional = true }
aws-config = {version = "0.55.1", optional = true }
infer = "0.13.0"
[target.'cfg(not(target_os = "windows"))'.dependencies]
signal-hook-tokio = { version = "0.3.1", features = ["futures-v0_3"]}
[build-dependencies]
router_env = { version = "0.1.0", path = "../router_env", default-features = false }
[dev-dependencies]
actix-http = "3.3.1"
awc = { version = "3.1.1", features = ["rustls"] }
derive_deref = "1.1.1"
rand = "0.8.5"
serial_test = "2.0.0"
time = { version = "0.3.20", features = ["macros"] }
tokio = "1.27.0"
toml = "0.7.3"
wiremock = "0.5"
thirtyfour = "0.31.0"
[[bin]]
name = "router"
path = "src/bin/router.rs"
[[bin]]
name = "scheduler"
path = "src/bin/scheduler.rs"