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

984 B
Raw Blame
[package]
name = "common_enums"
description = "Enums shared across the request/response types and database types"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
readme = "README.md"
license.workspace = true

[features]
diesel = ["dep:diesel"]
dummy_connector = []
openapi = []
payouts = []
v2 = []

[dependencies]
diesel = { version = "2.3.12", features = ["postgres"], optional = true }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
strum = { version = "0.26", features = ["derive"] }
thiserror = "1.0.69"
utoipa = { version = "4.2.3", features = ["preserve_order", "preserve_path_order"] }

# First party crates
router_derive = { version = "0.1.0", path = "../router_derive" }
hyperswitch_masking = { version = "0.0.1", features = ["serde"] }
smithy = { version = "0.1.0", path = "../smithy" }
smithy-core = { version = "0.1.0", path = "../smithy-core" }

[dev-dependencies]
serde_json = "1.0.140"

[lints]
workspace = true