mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: sai-harsha-vardhan <harsha111hero@gmail.com> Co-authored-by: Shankar Singh C <83439957+ShankarSinghC@users.noreply.github.com> Co-authored-by: spritianeja03 <146620839+spritianeja03@users.noreply.github.com> Co-authored-by: Spriti Aneja <spriti.aneja@juspay.in>
53 lines
2.1 KiB
TOML
53 lines
2.1 KiB
TOML
[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"]
|
|
dynamic_routing = []
|
|
oltp = []
|
|
olap = ["hyperswitch_domain_models/olap"]
|
|
payouts = ["hyperswitch_domain_models/payouts"]
|
|
v1 = ["api_models/v1", "diesel_models/v1", "hyperswitch_domain_models/v1", "common_utils/v1"]
|
|
v2 = ["api_models/v2", "diesel_models/v2", "hyperswitch_domain_models/v2", "common_utils/v2"]
|
|
customer_v2 = ["api_models/customer_v2", "diesel_models/customer_v2", "hyperswitch_domain_models/customer_v2"]
|
|
payment_methods_v2 = ["diesel_models/payment_methods_v2", "api_models/payment_methods_v2", "hyperswitch_domain_models/payment_methods_v2"]
|
|
|
|
[dependencies]
|
|
# First Party dependencies
|
|
api_models = { version = "0.1.0", path = "../api_models" }
|
|
common_enums = { version = "0.1.0", path = "../common_enums" }
|
|
common_utils = { version = "0.1.0", path = "../common_utils" }
|
|
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 }
|
|
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" }
|
|
|
|
# Third party crates
|
|
async-bb8-diesel = { git = "https://github.com/jarnura/async-bb8-diesel", rev = "53b4ab901aab7635c8215fd1c2d542c8db443094" }
|
|
async-trait = "0.1.79"
|
|
bb8 = "0.8.3"
|
|
bytes = "1.6.0"
|
|
config = { version = "0.14.0", features = ["toml"] }
|
|
crc32fast = "1.4.0"
|
|
diesel = { version = "2.2.3", default-features = false, features = ["postgres"] }
|
|
dyn-clone = "1.0.17"
|
|
error-stack = "0.4.1"
|
|
futures = "0.3.30"
|
|
moka = { version = "0.12", features = ["future"] }
|
|
once_cell = "1.19.0"
|
|
serde = { version = "1.0.197", features = ["derive"] }
|
|
serde_json = "1.0.115"
|
|
thiserror = "1.0.58"
|
|
tokio = { version = "1.37.0", features = ["rt-multi-thread"] }
|
|
|
|
[lints]
|
|
workspace = true
|