Skip to content

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

1.2 KB
Raw Blame
[package]
name = "common_types"
description = "Types shared across the request/response types and database types"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
license.workspace = true

[features]
default = []
diesel = ["dep:diesel", "common_utils/diesel", "common_enums/diesel"]
v1 = ["common_utils/v1"]
v2 = ["common_utils/v2"]
tokenization_v2 = ["common_utils/tokenization_v2"]

[dependencies]
diesel = { version = "2.3.12", optional = true }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
utoipa = { version = "4.2.3", features = ["preserve_order", "preserve_path_order"] }
time = { version = "0.3.35", features = ["serde", "serde-well-known", "std"] }
error-stack = "0.4.1"
cpf_cnpj = "0.3"
rust_decimal = { version = "1.37", features = ["maths"] }

common_enums = { version = "0.1.0", path = "../common_enums" }
common_utils = { version = "0.1.0", path = "../common_utils"}
cards = { version = "0.1.0", path = "../cards"}
euclid = { version = "0.1.0", path = "../euclid" }
hyperswitch_masking = "0.0.1"
smithy = { version = "0.1.0", path = "../smithy" }
smithy-core = { version = "0.1.0", path = "../smithy-core" }

[lints]
workspace = true