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 = "storage_impl"
description = "Storage backend implementations for data structures in router"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
readme = "README.md"
license.workspace = true
[features]
default = ["olap", "oltp", "accounts_cache", "redis-rs"]
# Deja replay (R1): feature-gate the replay DB routing hook so default/prod builds
# are byte-for-byte unaffected.
deja = ["dep:deja", "diesel_models/deja"]
dynamic_routing = []
oltp = []
accounts_cache = []
olap = ["hyperswitch_domain_models/olap"]
payouts = ["hyperswitch_domain_models/payouts"]
v1 = ["api_models/v1", "diesel_models/v1", "hyperswitch_domain_models/v1", "common_utils/v1", "common_types/v1"]
v2 = ["api_models/v2", "diesel_models/v2", "hyperswitch_domain_models/v2", "common_utils/v2", "common_types/v2"]
tokenization_v2 = ["diesel_models/tokenization_v2", "api_models/tokenization_v2", "hyperswitch_domain_models/tokenization_v2"]
fred = ["redis_interface/fred"]
redis-rs = ["redis_interface/redis-rs"]
[dependencies]
tracing = { workspace = true }
# First Party dependencies
api_models = { version = "0.1.0", path = "../api_models" }
common_enums = { version = "0.1.0", path = "../common_enums", features = ["diesel"] }
common_utils = { version = "0.1.0", path = "../common_utils", features = ["diesel"] }
common_types = { version = "0.1.0", path = "../common_types", features = ["diesel"] }
deja = { git = "https://github.com/juspay/deja", rev = "3fe15f88537c4bf4375504de4582217ba4e2d8e0", optional = true, default-features = false }
diesel_models = { version = "0.1.0", path = "../diesel_models", default-features = false }
hyperswitch_domain_models = { version = "0.1.0", path = "../hyperswitch_domain_models", default-features = false }
hyperswitch_masking = "0.0.1"
redis_interface = { version = "0.1.0", path = "../redis_interface", default-features = false }
router_derive = { version = "0.1.0", path = "../router_derive" }
router_env = { version = "0.1.0", path = "../router_env" }
# Third party crates
async-bb8-diesel = "0.3.0"
async-trait = "0.1.92"
bb8 = "0.9.1"
bytes = "1.10.1"
config = { version = "0.14.1", features = ["toml"] }
crc32fast = "1.4.2"
diesel = { version = "2.3.12", default-features = false, features = ["postgres"] }
dyn-clone = "1.0.19"
error-stack = "0.4.1"
futures = "0.3.31"
moka = { version = "0.12", features = ["future"] }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
thiserror = "1.0.69"
tokio = { version = "1.48.0", features = ["rt-multi-thread", "sync", "time"] }
[lints]
workspace = true