-
Notifications
You must be signed in to change notification settings - Fork 4.8k
feat(injector): add support for new crate - injector for external vault proxy #8959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 77 commits
68248f0
c89185c
0a9bc18
5d7e06f
513478c
02162d6
26a383f
032df2f
a7f7198
7e0fba5
b5cf478
542cce3
326b86d
0529859
3f253ad
1a632d8
ed0fe98
6fc8eee
9aa26ba
69ceb9d
0c5fa7d
d3c2b93
41fc6a1
ef671d0
5f67c74
1b69ffb
d562c4a
8ea2faa
2ba76b7
8396400
6a06928
cb033db
90cdae0
ebdbc04
3759b02
b2a684d
79d11ac
42a5d4e
81ed686
47fb3b6
f29d414
29f0266
c13dd05
9037977
d56e7ee
7a20353
01736f1
385bb7a
07ae22d
2799da0
9e26dbe
9469a60
ca17887
f83df2a
1a3dd05
4424487
1b0cc73
28803d8
40b12a9
f726462
dd54aa6
33fafc6
73dd445
720f611
c940a79
c136844
3368df1
793a76c
451c1de
48069ac
6989520
3b84467
d4838ac
3281525
ffbab9c
a3812f6
d15d079
c124485
25948ad
be2f0aa
575ff01
861aab2
28e0bfc
555cd3d
1ef6321
d7491d0
e0ac1d5
bd1b2d0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -397,7 +397,7 @@ pub trait ConnectorSpecifications { | |
| false | ||
| } | ||
|
|
||
| #[cfg(not(feature = "v2"))] | ||
| #[cfg(feature = "v1")] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this required?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if not required, please revert this |
||
| /// Generate connector request reference ID | ||
| fn generate_connector_request_reference_id( | ||
| &self, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| [package] | ||
| name = "injector" | ||
| description = "Token injection and payload processing for payment connectors" | ||
| version = "0.1.0" | ||
| edition.workspace = true | ||
| rust-version.workspace = true | ||
| license.workspace = true | ||
|
|
||
| [features] | ||
| default = [ | ||
| "dep:hyperswitch_interfaces", | ||
| "dep:common_utils", | ||
| "dep:external_services", | ||
| "dep:masking", | ||
| "dep:router_env", | ||
| "dep:async-trait", | ||
| "dep:error-stack", | ||
| "dep:nom", | ||
| "dep:serde", | ||
| "dep:serde_json", | ||
| "dep:thiserror", | ||
| "dep:tokio", | ||
| "dep:url" | ||
| ] | ||
|
|
||
| v1 = ["default"] | ||
| v2 = ["default"] | ||
| serde = ["default"] | ||
| tracing-actix-web = ["default"] | ||
|
|
||
| [dependencies] | ||
| hyperswitch_interfaces = { version = "0.1.0", path = "../hyperswitch_interfaces", optional = true } | ||
| common_utils = { version = "0.1.0", path = "../common_utils", optional = true } | ||
| external_services = { version = "0.1.0", path = "../external_services", optional = true } | ||
| masking = { version = "0.1.0", path = "../masking", optional = true } | ||
| router_env = { version = "0.1.0", path = "../router_env", optional = true } | ||
|
|
||
| async-trait = { version = "0.1.88", optional = true } | ||
| error-stack = { version = "0.4.1", optional = true } | ||
| nom = { version = "7.1.3", optional = true } | ||
| serde = { version = "1.0.219", features = ["derive"], optional = true } | ||
| serde_json = { version = "1.0.140", optional = true } | ||
| thiserror = { version = "1.0.69", optional = true } | ||
| tokio = { version = "1.42.0", features = ["macros", "rt-multi-thread"], optional = true } | ||
| url = { version = "2.5.4", features = ["serde"], optional = true } | ||
|
|
||
| [lints] | ||
| workspace = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert this change. seems like this is irrelevant change