Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
[package]
name = "cloud_services"
description = "Cloud provider clients (KMS, object storage) shared across Hyperswitch services"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
# Deliberately free of Hyperswitch crates (no `common_utils`, `router_env` or `error-stack`),
# so services outside this workspace can depend on it without pulling in Hyperswitch.
[features]
default = []
s3 = ["dep:aws-config", "dep:aws-sdk-s3", "dep:url"]
oci_object_storage = ["s3"]
gcs_object_storage = ["s3"]
aws_kms = ["dep:aws-config", "dep:aws-sdk-kms", "dep:base64"]
gcp_kms = ["dep:google-cloud-kms", "dep:google-cloud-gax", "dep:base64"]
ses = [
"dep:aws-config",
"dep:aws-sdk-sesv2",
"dep:aws-sdk-sts",
"dep:aws-smithy-runtime",
"dep:aws-smithy-runtime-api",
"dep:hyper",
"dep:hyper-proxy",
]
smtp = ["dep:lettre", "dep:tokio", "dep:tokio-socks", "dep:tracing"]
oci_kms = ["dep:oci_kms"]
[dependencies]
aws-config = { version = "1.8.14", optional = true, features = [
"behavior-version-latest",
] }
aws-sdk-kms = { version = "1.100.0", optional = true, default-features = false, features = ["default-https-client", "rt-tokio"] }
aws-sdk-s3 = { version = "1.123.0", optional = true, default-features = false, features = ["default-https-client", "rt-tokio", "sigv4a", "http-1x"] }
aws-sdk-sesv2 = { version = "1.123.0", optional = true, default-features = false, features = ["default-https-client", "rt-tokio", "sigv4a"] }
aws-sdk-sts = { version = "1.107.0", optional = true, default-features = false, features = ["default-https-client", "rt-tokio", "sigv4a"] }
aws-smithy-runtime = { version = "1.11.3", optional = true, features = ["connector-hyper-0-14-x"] }
aws-smithy-runtime-api = { version = "1.7", optional = true, features = ["client"] }
base64 = { version = "0.22.1", optional = true }
google-cloud-gax = { version = "0.19.2", optional = true }
google-cloud-kms = { version = "0.6.0", optional = true }
hyper = { version = "0.14.32", optional = true, features = ["client", "tcp", "http1"] }
hyper-proxy = { version = "0.9.1", optional = true }
lettre = { version = "0.11.23", optional = true, features = ["tokio1", "tokio1-native-tls"] }
oci_kms = { version = "0.1.0", path = "../oci_kms", optional = true }
serde = { version = "1.0.219", features = ["derive"] }
thiserror = "1.0.69"
tokio = { version = "1.48.0", optional = true, features = ["net", "time"] }
tokio-socks = { version = "0.5", optional = true }
tracing = { workspace = true, optional = true }
url = { version = "2.5.4", optional = true }
[dev-dependencies]
serde_json = "1.0.140"
tokio = { version = "1.48.0", features = ["macros", "rt-multi-thread"] }
[lints]
workspace = true