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 = "analytics"
version = "0.1.0"
description = "Analytics / Reports / Search related functionality"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
[features]
v1 = ["api_models/v1", "diesel_models/v1", "storage_impl/v1", "common_utils/v1"]
v2 = ["api_models/v2", "diesel_models/v2", "storage_impl/v2", "common_utils/v2"]
deja = ["dep:deja", "dep:opensearch_http", "dep:opensearch_reqwest", "common_utils/deja", "diesel_models/deja", "storage_impl/deja"]
[dependencies]
tracing = { workspace = true }
# First party crates
api_models = { version = "0.1.0", path = "../api_models", features = ["errors"] }
common_enums = { version = "0.1.0", path = "../common_enums" }
common_utils = { version = "0.1.0", path = "../common_utils", features = ["async_ext"] }
diesel_models = { version = "0.1.0", path = "../diesel_models", features = ["kv_store"], default-features = false }
hyperswitch_interfaces = { version = "0.1.0", path = "../hyperswitch_interfaces", default-features = false }
hyperswitch_masking = "0.0.1"
deja = { git = "https://github.com/juspay/deja", rev = "3fe15f88537c4bf4375504de4582217ba4e2d8e0", optional = true, default-features = false, features = ["error-stack"] }
router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra_implicit_fields", "log_custom_entries_to_extra"] }
storage_impl = { version = "0.1.0", path = "../storage_impl", default-features = false }
currency_conversion = { version = "0.1.0", path = "../currency_conversion" }
#Third Party dependencies
actix-web = "4.11.0"
async-trait = "0.1.92"
aws-config = { version = "1.8.14", features = ["behavior-version-latest"] }
aws-sdk-lambda = { version = "1.116.0", default-features = false, features = ["default-https-client", "rt-tokio"] }
aws-smithy-types = { version = "1.3.1" }
bigdecimal = { version = "0.4.8", features = ["serde"] }
error-stack = "0.4.1"
futures = "0.3.31"
opensearch = { version = "2.3.0", features = ["aws-auth"] }
# The versions opensearch builds its `Response` from, to rebuild a recorded one.
opensearch_http = { package = "http", version = "1.3.1", optional = true }
opensearch_reqwest = { package = "reqwest", version = "0.12.7", default-features = false, features = ["stream"], optional = true }
reqwest = { version = "0.11.27", features = ["serde_json"] }
rust_decimal = "1.37"
serde = { version = "1.0.219", features = ["derive", "rc"] }
serde_json = "1.0.140"
sqlx = { version = "0.8.6", features = ["postgres", "runtime-tokio", "runtime-tokio-native-tls", "time", "bigdecimal"] }
strum = { version = "0.26.3", features = ["derive"] }
thiserror = "1.0.69"
time = { version = "0.3.41", features = ["serde", "serde-well-known", "std"] }
tokio = { version = "1.48.0", features = ["macros", "rt-multi-thread"] }
[lints]
workspace = true