text
stringlengths
70
351k
source
stringclasses
4 values
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [checkout] api_key = "PublicKey" api_secret = "SecretKey" key1 = "MyProcessingChannelId"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [cybersource] api_key = "Bearer MyApiKey" key1 = "Merchant id" api_secret = "Secret key"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [worldpay] api_key = "api_key" key1 = "key1" api_secret = "Merchant Identifier"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [payu] api_key = "Bearer MyApiKey" key1 = "MerchantPosId"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [globalpay] api_key = "api_key" key1 = "key1"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [rapyd] api_key = "access_key" key1 = "secret_key"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [fiserv] api_key = "MyApiKey" key1 = "MerchantID" api_secret = "MySecretKey"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [worldline] key1 = "Merchant Id" api_key = "API Key" api_secret = "API Secret Key"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [dlocal] key1 = "key1" api_key = "api_key" api_secret = "secret"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [bambora] api_key = "api_key" key1 = "key1"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [nmi] api_key = "NMI API Key"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [nuvei] api_key = "api_key" key1 = "key1" api_secret = "secret"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [paypal] api_key = "api_key" key1 = "key1"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [forte] api_key = "api_key" key1 = "key1" key2 = "key2" api_secret = "api_secret"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [nexinets] api_key = "api_key" key1 = "key1"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [payeezy] api_key = "api_key" key1 = "key1" api_secret = "secret"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [iatapay] key1 = "key1" api_key = "api_key" api_secret = "secret"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [noon] api_key = "Application API KEY" api_secret = "Application Identifier" key1 = "Business Identifier"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [wise] api_key = "API Key" key1 = "Profile ID"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [automation_configs] hs_base_url="http://localhost:8080" hs_test_browser="firefox" chrome_profile_path="" firefox_profile_path="" pypl_email="" pypl_pass="" gmail_email="" gmail_pass=""
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [payme] # Open api key api_key="seller payme id" key1="payme client key"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [cryptopay] api_key = "api_key" key1 = "key1"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [cashtocode] api_key="Classic PMT API Key" key1 = "Evoucher PMT API Key"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [tsys] api_key="device id" key1 = "transaction key" api_secret = "developer id"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [globepay] api_key = "Partner code" key1 = "Credential code"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [powertranz] api_key="PowerTranz-PowerTranzPassword" key1 = "PowerTranz-PowerTranzId"
ast_fragments
# file: hyperswitch/crates/test_utils/tests/sample_auth.toml | crate: test_utils [boku] api_key="API Key" key1 = "transaction key"
ast_fragments
# file: hyperswitch/crates/euclid_wasm/Cargo.toml | crate: euclid_wasm [package] name = "euclid_wasm" description = "WASM bindings for Euclid DSL" version = "0.1.0" edition.workspace = true rust-version.workspace = true license.workspace = true
ast_fragments
# file: hyperswitch/crates/euclid_wasm/Cargo.toml | crate: euclid_wasm [features] default = ["payouts"] release = ["payouts"] dummy_connector = ["kgraph_utils/dummy_connector", "connector_configs/dummy_connector"] production = ["connector_configs/production"] sandbox = ["connector_configs/sandbox"] payouts = ["api_models/payouts", "euclid/payouts"] v1 = ["api_models/v1", "kgraph_utils/v1"] v2 = []
ast_fragments
# file: hyperswitch/crates/euclid_wasm/Cargo.toml | crate: euclid_wasm [dependencies] api_models = { version = "0.1.0", path = "../api_models", package = "api_models" } common_enums = { version = "0.1.0", path = "../common_enums" } common_types = { version = "0.1.0", path = "../common_types" } connector_configs = { version = "0.1.0", path = "../connector_configs" } currency_conversion = { version = "0.1.0", path = "../currency_conversion" } euclid = { version = "0.1.0", path = "../euclid", features = [] } hyperswitch_constraint_graph = { version = "0.1.0", path = "../hyperswitch_constraint_graph" } kgraph_utils = { version = "0.1.0", path = "../kgraph_utils" } # Third party crates getrandom = { version = "0.2.12", features = ["js"] } once_cell = "1.19.0" ron-parser = "0.1.4" serde = { version = "1.0", features = [] } serde-wasm-bindgen = "0.6.5" strum = { version = "0.26", features = ["derive"] } wasm-bindgen = { version = "0.2.99" }
ast_fragments
# file: hyperswitch/crates/common_types/Cargo.toml | crate: common_types [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
ast_fragments
# file: hyperswitch/crates/common_types/Cargo.toml | crate: common_types [features] default = [] v1 = ["common_utils/v1"] v2 = ["common_utils/v2"]
ast_fragments
# file: hyperswitch/crates/common_types/Cargo.toml | crate: common_types [dependencies] diesel = "2.2.3" serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.115" strum = { version = "0.26", features = ["derive"] } utoipa = { version = "4.2.0", features = ["preserve_order", "preserve_path_order"] } common_enums = { version = "0.1.0", path = "../common_enums" } common_utils = { version = "0.1.0", path = "../common_utils"} euclid = { version = "0.1.0", path = "../euclid" }
ast_fragments
# file: hyperswitch/crates/config_importer/Cargo.toml | crate: config_importer [package] name = "config_importer" description = "Utility to convert a TOML configuration file to a list of environment variables" version = "0.1.0" edition.workspace = true rust-version.workspace = true readme = "README.md" license.workspace = true
ast_fragments
# file: hyperswitch/crates/config_importer/Cargo.toml | crate: config_importer [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]
ast_fragments
# file: hyperswitch/crates/config_importer/Cargo.toml | crate: config_importer [dependencies] anyhow = "1.0.81" clap = { version = "4.4.18", default-features = false, features = ["std", "derive", "help", "usage"] } indexmap = { version = "2.2.6", optional = true } serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.115" toml = { version = "0.8.12", default-features = false, features = ["parse"] }
ast_fragments
# file: hyperswitch/crates/config_importer/Cargo.toml | crate: config_importer [features] default = ["preserve_order"] preserve_order = ["dep:indexmap", "serde_json/preserve_order", "toml/preserve_order"]
ast_fragments
# file: hyperswitch/crates/cards/Cargo.toml | crate: cards [package] name = "cards" description = "Types to handle card masking and validation" version = "0.1.0" edition.workspace = true rust-version.workspace = true readme = "README.md" license.workspace = true
ast_fragments
# file: hyperswitch/crates/cards/Cargo.toml | crate: cards [dependencies] error-stack = "0.4.1" once_cell = "1.19.0" serde = { version = "1.0.197", features = ["derive"] } thiserror = "1.0.58" time = "0.3.35" regex = "1.10.4" # First party crates common_utils = { version = "0.1.0", path = "../common_utils" } masking = { version = "0.1.0", path = "../masking" }
ast_fragments
# file: hyperswitch/crates/cards/Cargo.toml | crate: cards [target.'cfg(not(target_arch = "wasm32"))'.dependencies] router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra_implicit_fields", "log_custom_entries_to_extra"], default-features = false }
ast_fragments
# file: hyperswitch/crates/currency_conversion/Cargo.toml | crate: currency_conversion [package] name = "currency_conversion" description = "Currency conversion for cost based routing" version = "0.1.0" edition.workspace = true rust-version.workspace = true license.workspace = true
ast_fragments
# file: hyperswitch/crates/currency_conversion/Cargo.toml | crate: currency_conversion [dependencies] # First party crates common_enums = { version = "0.1.0", path = "../common_enums", package = "common_enums" } # Third party crates rust_decimal = "1.35" rusty-money = { git = "https://github.com/varunsrin/rusty_money", rev = "bbc0150742a0fff905225ff11ee09388e9babdcc", features = ["iso", "crypto"] } serde = { version = "1.0.197", features = ["derive"] } thiserror = "1.0.58"
ast_fragments
# file: hyperswitch/crates/diesel_models/Cargo.toml | crate: diesel_models [package] name = "diesel_models" description = "Database types shared across `router` and other crates" version = "0.1.0" edition.workspace = true rust-version.workspace = true readme = "README.md" license.workspace = true
ast_fragments
# file: hyperswitch/crates/diesel_models/Cargo.toml | crate: diesel_models [features] default = ["kv_store"] kv_store = [] v1 = ["common_utils/v1", "common_types/v1"] v2 = ["common_utils/v2", "common_types/v2"] customer_v2 = [] payment_methods_v2 = [] refunds_v2 = []
ast_fragments
# file: hyperswitch/crates/diesel_models/Cargo.toml | crate: diesel_models [dependencies] async-bb8-diesel = { git = "https://github.com/jarnura/async-bb8-diesel", rev = "53b4ab901aab7635c8215fd1c2d542c8db443094" } diesel = { version = "2.2.3", features = ["postgres", "serde_json", "time", "128-column-tables"] } error-stack = "0.4.1" rustc-hash = "1.1.0" serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.115" strum = { version = "0.26.2", features = ["derive"] } thiserror = "1.0.58" time = { version = "0.3.35", features = ["serde", "serde-well-known", "std"] } # First party crates common_enums = { version = "0.1.0", path = "../common_enums" } common_utils = { version = "0.1.0", path = "../common_utils" } common_types = { version = "0.1.0", path = "../common_types" } masking = { version = "0.1.0", path = "../masking" } router_derive = { version = "0.1.0", path = "../router_derive" } router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra_implicit_fields", "log_custom_entries_to_extra"] }
ast_fragments
# file: hyperswitch/crates/scheduler/Cargo.toml | crate: scheduler [dependencies] # Third party crates async-trait = "0.1.79" error-stack = "0.4.1" futures = "0.3.30" num_cpus = "1.16.0" once_cell = "1.19.0" rand = "0.8.5" serde = "1.0.197" serde_json = "1.0.115" strum = { version = "0.26.2", features = ["derive"] } thiserror = "1.0.58" time = { version = "0.3.35", features = ["serde", "serde-well-known", "std"] } tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] } uuid = { version = "1.8.0", features = ["v4"] } # First party crates common_utils = { version = "0.1.0", path = "../common_utils", features = ["signals", "async_ext"] } common_types = { version = "0.1.0", path = "../common_types" } diesel_models = { version = "0.1.0", path = "../diesel_models", features = ["kv_store"], default-features = false } external_services = { version = "0.1.0", path = "../external_services" } hyperswitch_domain_models = { version = "0.1.0", path = "../hyperswitch_domain_models", default-features = false } redis_interface = { version = "0.1.0", path = "../redis_interface" } 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 }
ast_fragments
# file: hyperswitch/crates/scheduler/Cargo.toml | crate: scheduler [package] name = "scheduler" version = "0.1.0" edition.workspace = true rust-version.workspace = true license.workspace = true
ast_fragments
# file: hyperswitch/crates/scheduler/Cargo.toml | crate: scheduler [features] default = ["kv_store", "olap"] olap = ["storage_impl/olap", "hyperswitch_domain_models/olap"] kv_store = [] email = ["external_services/email"] v1 = ["diesel_models/v1", "hyperswitch_domain_models/v1", "storage_impl/v1", "common_utils/v1", "common_types/v1"] v2 = ["diesel_models/v2", "hyperswitch_domain_models/v2", "storage_impl/v2", "common_utils/v2", "common_types/v2"]
ast_fragments
# file: hyperswitch/crates/drainer/Cargo.toml | crate: drainer [dependencies] actix-web = "4.5.1" async-bb8-diesel = { git = "https://github.com/jarnura/async-bb8-diesel", rev = "53b4ab901aab7635c8215fd1c2d542c8db443094" } async-trait = "0.1.79" bb8 = "0.8" clap = { version = "4.4.18", default-features = false, features = ["std", "derive", "help", "usage"] } config = { version = "0.14.0", features = ["toml"] } diesel = { version = "2.2.3", features = ["postgres"] } error-stack = "0.4.1" mime = "0.3.17" once_cell = "1.19.0" reqwest = { version = "0.11.27" } serde = "1.0.197" serde_json = "1.0.115" serde_path_to_error = "0.1.16" thiserror = "1.0.58" tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] } # First Party Crates common_utils = { version = "0.1.0", path = "../common_utils", features = ["signals"] } diesel_models = { version = "0.1.0", path = "../diesel_models", features = ["kv_store"], default-features = false } external_services = { version = "0.1.0", path = "../external_services" } hyperswitch_interfaces = { version = "0.1.0", path = "../hyperswitch_interfaces" } masking = { version = "0.1.0", path = "../masking" } redis_interface = { version = "0.1.0", path = "../redis_interface" } router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra_implicit_fields", "log_custom_entries_to_extra"] }
ast_fragments
# file: hyperswitch/crates/drainer/Cargo.toml | crate: drainer [package] name = "drainer" description = "Application that reads Redis streams and executes queries in database" version = "0.1.0" edition.workspace = true rust-version.workspace = true readme = "README.md" license.workspace = true
ast_fragments
# file: hyperswitch/crates/drainer/Cargo.toml | crate: drainer [features] release = ["vergen", "external_services/aws_kms"] vergen = ["router_env/vergen"] v1 = ["diesel_models/v1", "hyperswitch_interfaces/v1", "common_utils/v1"]
ast_fragments
# file: hyperswitch/crates/drainer/Cargo.toml | crate: drainer [build-dependencies] router_env = { version = "0.1.0", path = "../router_env", default-features = false }
ast_fragments
# file: hyperswitch/crates/router_derive/Cargo.toml | crate: router_derive [package] name = "router_derive" description = "Utility macros for the `router` crate" version = "0.1.0" edition.workspace = true rust-version.workspace = true readme = "README.md" license.workspace = true
ast_fragments
# file: hyperswitch/crates/router_derive/Cargo.toml | crate: router_derive [lib] proc-macro = true doctest = false
ast_fragments
# file: hyperswitch/crates/router_derive/Cargo.toml | crate: router_derive [dependencies] indexmap = "2.2.6" proc-macro2 = "1.0.79" quote = "1.0.35" serde_json = "1.0.115" strum = { version = "0.26.2", features = ["derive"] } syn = { version = "2.0.57", features = ["full", "extra-traits"] } # the full feature does not seem to encompass all the features
ast_fragments
# file: hyperswitch/crates/router_derive/Cargo.toml | crate: router_derive [dev-dependencies] diesel = { version = "2.2.3", features = ["postgres"] } error-stack = "0.4.1" serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.115" utoipa = "4.2.0" common_utils = { version = "0.1.0", path = "../common_utils" }
ast_fragments
# file: hyperswitch/crates/hsdev/Cargo.toml | crate: hsdev [package] name = "hsdev" version = "0.1.0" license.workspace = true edition.workspace = true rust-version.workspace = true description = "A simple diesel postgres migrator that uses TOML files" repository = "https://github.com/juspay/hyperswitch.git" readme = "README.md"
ast_fragments
# file: hyperswitch/crates/hsdev/Cargo.toml | crate: hsdev [dependencies] clap = { version = "4.1.8", features = ["derive"] } diesel = { version = "2.2.3", features = ["postgres"] } diesel_migrations = "2.1.0" serde = { version = "1.0", features = ["derive"] } toml = "0.5"
ast_fragments
# file: hyperswitch/crates/euclid/Cargo.toml | crate: euclid [package] name = "euclid" description = "DSL for static routing" version = "0.1.0" edition.workspace = true rust-version.workspace = true license.workspace = true
ast_fragments
# file: hyperswitch/crates/euclid/Cargo.toml | crate: euclid [dependencies] nom = { version = "7.1.3", features = ["alloc"], optional = true } once_cell = "1.19.0" rustc-hash = "1.1.0" serde = { version = "1.0.197", features = ["derive", "rc"] } serde_json = "1.0.115" strum = { version = "0.26", features = ["derive"] } thiserror = "1.0.58" utoipa = { version = "4.2.0", features = ["preserve_order", "preserve_path_order"] } # First party dependencies common_enums = { version = "0.1.0", path = "../common_enums" } common_utils = { version = "0.1.0", path = "../common_utils" } euclid_macros = { version = "0.1.0", path = "../euclid_macros" } hyperswitch_constraint_graph = { version = "0.1.0", path = "../hyperswitch_constraint_graph", features = ["viz"] }
ast_fragments
# file: hyperswitch/crates/euclid/Cargo.toml | crate: euclid [features] default = [] ast_parser = ["dep:nom"] valued_jit = [] dummy_connector = [] payouts = [] v2 = ["common_enums/v2"]
ast_fragments
# file: hyperswitch/crates/euclid/Cargo.toml | crate: euclid [dev-dependencies] criterion = "0.5"
ast_fragments
# file: hyperswitch/crates/api_models/Cargo.toml | crate: api_models [dependencies] actix-multipart = { version = "0.6.1", optional = true } actix-web = { version = "4.5.1", optional = true } error-stack = "0.4.1" indexmap = "2.3.0" mime = "0.3.17" reqwest = { version = "0.11.27", optional = true } serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.115" strum = { version = "0.26", features = ["derive"] } time = { version = "0.3.35", features = ["serde", "serde-well-known", "std"] } url = { version = "2.5.0", features = ["serde"] } utoipa = { version = "4.2.0", features = ["preserve_order", "preserve_path_order"] } rustc-hash = "1.1.0" nutype = { version = "0.4.2", features = ["serde"] } # First party crates cards = { version = "0.1.0", path = "../cards" } common_enums = { version = "0.1.0", path = "../common_enums" } common_types = { version = "0.1.0", path = "../common_types" } common_utils = { version = "0.1.0", path = "../common_utils" } euclid = { version = "0.1.0", path = "../euclid" } masking = { version = "0.1.0", path = "../masking", default-features = false, features = ["alloc", "serde"] } router_derive = { version = "0.1.0", path = "../router_derive" }
ast_fragments
# file: hyperswitch/crates/api_models/Cargo.toml | crate: api_models [package] name = "api_models" description = "Request/response models for the `router` crate" version = "0.1.0" edition.workspace = true rust-version.workspace = true readme = "README.md" license.workspace = true
ast_fragments
# file: hyperswitch/crates/api_models/Cargo.toml | crate: api_models [features] errors = ["dep:actix-web", "dep:reqwest"] dummy_connector = ["euclid/dummy_connector", "common_enums/dummy_connector"] detailed_errors = [] payouts = ["common_enums/payouts"] frm = [] olap = [] openapi = ["common_enums/openapi", "olap", "recon", "dummy_connector", "olap"] recon = [] v1 = ["common_utils/v1"] v2 = ["common_types/v2", "common_utils/v2", "customer_v2"] customer_v2 = ["common_utils/customer_v2"] payment_methods_v2 = ["common_utils/payment_methods_v2"] dynamic_routing = [] control_center_theme = ["dep:actix-web", "dep:actix-multipart"] revenue_recovery = []
ast_fragments
# file: hyperswitch/crates/router_env/Cargo.toml | crate: router_env [dependencies] cargo_metadata = "0.18.1" config = { version = "0.14.0", features = ["toml"] } error-stack = "0.4.1" gethostname = "0.4.3" once_cell = "1.19.0" opentelemetry = { version = "0.27.1", default-features = false, features = ["internal-logs", "metrics", "trace"] } opentelemetry-aws = { version = "0.15.0", default-features = false, features = ["internal-logs", "trace"] } opentelemetry-otlp = { version = "0.27.0", default-features = false, features = ["grpc-tonic", "metrics", "trace"] } opentelemetry_sdk = { version = "0.27.1", default-features = false, features = ["rt-tokio-current-thread", "metrics", "trace"] } rustc-hash = "1.1" serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.115" serde_path_to_error = "0.1.16" strum = { version = "0.26.2", features = ["derive"] } time = { version = "0.3.35", default-features = false, features = ["formatting"] } tokio = { version = "1.37.0" } tracing = { workspace = true } tracing-actix-web = { version = "0.7.15", features = ["opentelemetry_0_27", "uuid_v7"], optional = true } tracing-appender = { version = "0.2.3" } tracing-attributes = "0.1.27" tracing-opentelemetry = { version = "0.28.0", default-features = false } tracing-subscriber = { version = "0.3.18", default-features = true, features = ["env-filter", "json", "registry"] } vergen = { version = "8.3.1", optional = true, features = ["cargo", "git", "git2", "rustc"] }
ast_fragments
# file: hyperswitch/crates/router_env/Cargo.toml | crate: router_env [package] name = "router_env" description = "Environment of payment router: logger, basic config, its environment awareness." version = "0.1.0" edition.workspace = true rust-version.workspace = true readme = "README.md" license.workspace = true
ast_fragments
# file: hyperswitch/crates/router_env/Cargo.toml | crate: router_env [dev-dependencies] tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] }
ast_fragments
# file: hyperswitch/crates/router_env/Cargo.toml | crate: router_env [build-dependencies] cargo_metadata = "0.18.1" vergen = { version = "8.3.1", features = ["cargo", "git", "git2", "rustc"], optional = true }
ast_fragments
# file: hyperswitch/crates/router_env/Cargo.toml | crate: router_env [features] default = ["actix_web", "payouts"] actix_web = ["tracing-actix-web"] log_custom_entries_to_extra = [] log_extra_implicit_fields = [] log_active_span_json = [] payouts = []
ast_fragments
# file: hyperswitch/crates/redis_interface/Cargo.toml | crate: redis_interface [package] name = "redis_interface" description = "A user-friendly interface to Redis" version = "0.1.0" edition.workspace = true rust-version.workspace = true readme = "README.md" license.workspace = true
ast_fragments
# file: hyperswitch/crates/redis_interface/Cargo.toml | crate: redis_interface [dependencies] error-stack = "0.4.1" fred = { version = "7.1.2", features = ["metrics", "partial-tracing", "subscriber-client", "check-unresponsive"] } futures = "0.3" serde = { version = "1.0.197", features = ["derive"] } thiserror = "1.0.58" tokio = "1.37.0" tokio-stream = { version = "0.1.15", features = ["sync"] } tracing = { workspace = true } # First party crates common_utils = { version = "0.1.0", path = "../common_utils", features = ["async_ext"] }
ast_fragments
# file: hyperswitch/crates/events/Cargo.toml | crate: events [package] name = "events" description = "Events framework for generating events & some sample implementations" version = "0.1.0" edition.workspace = true rust-version.workspace = true license.workspace = true
ast_fragments
# file: hyperswitch/crates/events/Cargo.toml | crate: events [dependencies] # First Party crates masking = { version = "0.1.0", path = "../masking" } router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra_implicit_fields", "log_custom_entries_to_extra"] } # Third Party crates error-stack = "0.4.1" serde = "1.0.197" serde_json = "1.0.114" thiserror = "1.0.58" time = "0.3.34"
ast_fragments
# file: hyperswitch/crates/payment_methods/Cargo.toml | crate: payment_methods [package] name = "payment_methods" version = "0.1.0" edition.workspace = true rust-version.workspace = true license.workspace = true
ast_fragments
# file: hyperswitch/crates/payment_methods/Cargo.toml | crate: payment_methods [dependencies] async-trait = "0.1.79" dyn-clone = "1.0.17" common_utils = { version = "0.1.0", path = "../common_utils", features = ["signals", "async_ext", "logs", "metrics", "keymanager", "encryption_service"] } hyperswitch_domain_models = { version = "0.1.0", path = "../hyperswitch_domain_models", default-features = false } storage_impl = { version = "0.1.0", path = "../storage_impl", default-features = false }
ast_fragments
# file: hyperswitch/crates/payment_methods/Cargo.toml | crate: payment_methods [features] default = ["v1"] v1 = ["hyperswitch_domain_models/v1", "storage_impl/v1", "common_utils/v1"] v2 = [ "payment_methods_v2"] payment_methods_v2 = [ "hyperswitch_domain_models/payment_methods_v2", "storage_impl/payment_methods_v2", "common_utils/payment_methods_v2"]
ast_fragments
# file: hyperswitch/crates/pm_auth/Cargo.toml | crate: pm_auth [package] name = "pm_auth" description = "Open banking services" version = "0.1.0" edition.workspace = true rust-version.workspace = true readme = "README.md" license.workspace = true
ast_fragments
# file: hyperswitch/crates/pm_auth/Cargo.toml | crate: pm_auth [features] v1 = ["api_models/v1", "common_utils/v1"]
ast_fragments
# file: hyperswitch/crates/pm_auth/Cargo.toml | crate: pm_auth [dependencies] # First party crates 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" } masking = { version = "0.1.0", path = "../masking" } # Third party crates async-trait = "0.1.79" bytes = "1.6.0" error-stack = "0.4.1" http = "0.2.12" mime = "0.3.17" serde = "1.0.197" serde_json = "1.0.115" strum = { version = "0.26.2", features = ["derive"] } thiserror = "1.0.58"
ast_fragments
# file: hyperswitch/crates/kgraph_utils/Cargo.toml | crate: kgraph_utils [package] name = "kgraph_utils" description = "Utilities for constructing and working with Knowledge Graphs" version = "0.1.0" edition.workspace = true rust-version.workspace = true license.workspace = true
ast_fragments
# file: hyperswitch/crates/kgraph_utils/Cargo.toml | crate: kgraph_utils [features] dummy_connector = ["api_models/dummy_connector", "euclid/dummy_connector"] v1 = ["api_models/v1", "common_utils/v1", "common_types/v1"] v2 = ["api_models/v2", "common_utils/v2", "common_types/v2", "common_enums/v2"]
ast_fragments
# file: hyperswitch/crates/kgraph_utils/Cargo.toml | crate: kgraph_utils [dependencies] api_models = { version = "0.1.0", path = "../api_models", package = "api_models" } common_enums = { version = "0.1.0", path = "../common_enums" } common_utils = { version = "0.1.0", path = "../common_utils" } common_types = {version = "0.1.0", path = "../common_types" } euclid = { version = "0.1.0", path = "../euclid" } hyperswitch_constraint_graph = { version = "0.1.0", path = "../hyperswitch_constraint_graph", features = ["viz"] } masking = { version = "0.1.0", path = "../masking/" } # Third party crates serde = "1.0.197" serde_json = "1.0.115" strum = { version = "0.26", features = ["derive"] } thiserror = "1.0.58"
ast_fragments
# file: hyperswitch/crates/external_services/Cargo.toml | crate: external_services [dependencies] async-trait = "0.1.79" aws-config = { version = "1.5.10", optional = true, features = ["behavior-version-latest"] } aws-sdk-kms = { version = "1.51.0", optional = true } aws-sdk-sesv2 = "1.57.0" aws-sdk-sts = "1.51.0" aws-sdk-s3 = { version = "1.65.0", optional = true } aws-smithy-runtime = "1.8.0" base64 = "0.22.0" dyn-clone = "1.0.17" error-stack = "0.4.1" hex = "0.4.3" hyper = "0.14.28" hyper-proxy = "0.9.1" lettre = "0.11.10" once_cell = "1.19.0" serde = { version = "1.0.197", features = ["derive"] } thiserror = "1.0.58" vaultrs = { version = "0.7.2", optional = true } prost = { version = "0.13", optional = true } tokio = "1.37.0" tonic = { version = "0.12.2", optional = true } tonic-reflection = { version = "0.12.2", optional = true } tonic-types = { version = "0.12.2", optional = true } hyper-util = { version = "0.1.9", optional = true } http-body-util = { version = "0.1.2", optional = true } # First party crates common_utils = { version = "0.1.0", path = "../common_utils" } hyperswitch_interfaces = { version = "0.1.0", path = "../hyperswitch_interfaces", default-features = false } masking = { version = "0.1.0", path = "../masking" } router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra_implicit_fields", "log_custom_entries_to_extra"] } api_models = { version = "0.1.0", path = "../api_models", optional = true }
ast_fragments
# file: hyperswitch/crates/external_services/Cargo.toml | crate: external_services [package] name = "external_services" description = "Interactions of the router with external systems" version = "0.1.0" edition.workspace = true rust-version.workspace = true readme = "README.md" license.workspace = true
ast_fragments
# file: hyperswitch/crates/external_services/Cargo.toml | crate: external_services [features] aws_kms = ["dep:aws-config", "dep:aws-sdk-kms"] email = ["dep:aws-config"] aws_s3 = ["dep:aws-config", "dep:aws-sdk-s3"] hashicorp-vault = ["dep:vaultrs"] v1 = ["hyperswitch_interfaces/v1", "common_utils/v1"] dynamic_routing = ["dep:prost", "dep:tonic", "dep:tonic-reflection", "dep:tonic-types", "dep:api_models", "tokio/macros", "tokio/rt-multi-thread", "dep:tonic-build", "dep:router_env", "dep:hyper-util", "dep:http-body-util"]
ast_fragments
# file: hyperswitch/crates/external_services/Cargo.toml | crate: external_services [build-dependencies] tonic-build = { version = "0.12", optional = true } router_env = { version = "0.1.0", path = "../router_env", default-features = false, optional = true }
ast_fragments
# file: hyperswitch/crates/euclid_macros/Cargo.toml | crate: euclid_macros [package] name = "euclid_macros" description = "Macros for Euclid DSL" version = "0.1.0" edition.workspace = true rust-version.workspace = true license.workspace = true
ast_fragments
# file: hyperswitch/crates/euclid_macros/Cargo.toml | crate: euclid_macros [dependencies] proc-macro2 = "1.0.79" quote = "1.0.35" rustc-hash = "1.1.0" strum = { version = "0.26", features = ["derive"] } syn = "2.0.57"
ast_fragments
# file: hyperswitch/crates/masking/Cargo.toml | crate: masking [package] name = "masking" description = "Personal Identifiable Information protection. Wrapper types and traits for secret management which help ensure they aren't accidentally copied, logged, or otherwise exposed (as much as possible), and also ensure secrets are securely wiped from memory when dropped." version = "0.1.0" edition.workspace = true rust-version.workspace = true readme = "README.md" license.workspace = true
ast_fragments
# file: hyperswitch/crates/masking/Cargo.toml | crate: masking [features] default = ["alloc", "serde", "diesel", "time"] alloc = ["zeroize/alloc"] serde = ["dep:serde", "dep:serde_json"] time = ["dep:time"] cassandra = ["dep:scylla"]
ast_fragments
# file: hyperswitch/crates/masking/Cargo.toml | crate: masking [dependencies] bytes = { version = "1", optional = true } diesel = { version = "2.2.3", features = ["postgres", "serde_json", "time"], optional = true } erased-serde = "0.4.4" serde = { version = "1", features = ["derive"], optional = true } serde_json = { version = "1.0.115", optional = true } subtle = "2.5.0" time = { version = "0.3.35", optional = true, features = ["serde-human-readable"] } url = { version = "2.5.0", features = ["serde"] } zeroize = { version = "1.7", default-features = false } scylla = { git = "https://github.com/juspay/scylla-rust-driver.git",rev = "5700aa2847b25437cdd4fcf34d707aa90dca8b89", optional = true}
ast_fragments
# file: hyperswitch/crates/analytics/Cargo.toml | crate: analytics [dependencies] # 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" } diesel_models = { version = "0.1.0", path = "../diesel_models", features = ["kv_store"], default-features = false } hyperswitch_domain_models = { version = "0.1.0", path = "../hyperswitch_domain_models", default-features = false } hyperswitch_interfaces = { version = "0.1.0", path = "../hyperswitch_interfaces", default-features = false } masking = { version = "0.1.0", path = "../masking" } 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.5.1" async-trait = "0.1.79" aws-config = { version = "1.5.10", features = ["behavior-version-latest"] } aws-sdk-lambda = { version = "1.60.0" } aws-smithy-types = { version = "1.3.0" } bigdecimal = { version = "0.4.5", features = ["serde"] } error-stack = "0.4.1" futures = "0.3.30" once_cell = "1.19.0" opensearch = { version = "2.2.0", features = ["aws-auth"] } reqwest = { version = "0.11.27", features = ["serde_json"] } rust_decimal = "1.35" serde = { version = "1.0.197", features = ["derive", "rc"] } serde_json = "1.0.115" sqlx = { version = "0.8.3", features = ["postgres", "runtime-tokio", "runtime-tokio-native-tls", "time", "bigdecimal"] } strum = { version = "0.26.2", features = ["derive"] } thiserror = "1.0.58" time = { version = "0.3.35", features = ["serde", "serde-well-known", "std"] } tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] }
ast_fragments
# file: hyperswitch/crates/analytics/Cargo.toml | crate: analytics [package] name = "analytics" version = "0.1.0" description = "Analytics / Reports / Search related functionality" edition.workspace = true rust-version.workspace = true license.workspace = true
ast_fragments
# file: hyperswitch/crates/analytics/Cargo.toml | crate: analytics [features] v1 = ["api_models/v1", "diesel_models/v1", "hyperswitch_domain_models/v1", "storage_impl/v1", "common_utils/v1"] v2 = ["api_models/v2", "diesel_models/v2", "hyperswitch_domain_models/v2", "storage_impl/v2", "common_utils/v2"]
ast_fragments
# file: hyperswitch/crates/hyperswitch_interfaces/Cargo.toml | crate: hyperswitch_interfaces [dependencies] actix-web = "4.5.1" async-trait = "0.1.79" bytes = "1.6.0" dyn-clone = "1.0.17" error-stack = "0.4.1" http = "0.2.12" mime = "0.3.17" once_cell = "1.19.0" reqwest = "0.11.27" serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.115" strum = { version = "0.26", features = ["derive"] } thiserror = "1.0.58" time = "0.3.35" url = "2.5.0" # First party crates hyperswitch_domain_models = { version = "0.1.0", path = "../hyperswitch_domain_models", default-features = false } masking = { version = "0.1.0", path = "../masking" } 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" } router_derive = { version = "0.1.0", path = "../router_derive" } router_env = { version = "0.1.0", path = "../router_env" }
ast_fragments
# file: hyperswitch/crates/hyperswitch_interfaces/Cargo.toml | crate: hyperswitch_interfaces [package] name = "hyperswitch_interfaces" version = "0.1.0" edition.workspace = true rust-version.workspace = true readme = "README.md" license.workspace = true
ast_fragments
# file: hyperswitch/crates/hyperswitch_interfaces/Cargo.toml | crate: hyperswitch_interfaces [features] default = ["dummy_connector", "frm", "payouts"] dummy_connector = [] v1 = ["hyperswitch_domain_models/v1", "api_models/v1", "common_utils/v1"] v2 = [] payouts = ["hyperswitch_domain_models/payouts"] frm = ["hyperswitch_domain_models/frm"] revenue_recovery= []
ast_fragments
# file: hyperswitch/crates/router/Cargo.toml | crate: router [features] default = ["common_default", "v1"] common_default = ["kv_store", "stripe", "oltp", "olap", "accounts_cache", "dummy_connector", "payouts", "payout_retry", "retry", "frm", "tls", "partial-auth", "km_forward_x_request_id"] olap = ["hyperswitch_domain_models/olap", "storage_impl/olap", "scheduler/olap", "api_models/olap", "dep:analytics"] tls = ["actix-web/rustls-0_22"] email = ["external_services/email", "scheduler/email", "olap"] # keymanager_create, keymanager_mtls, encryption_service should not be removed or added to default feature. Once this features were enabled it can't be disabled as these are breaking changes. keymanager_create = [] keymanager_mtls = ["reqwest/rustls-tls", "common_utils/keymanager_mtls"] encryption_service = ["keymanager_create", "hyperswitch_domain_models/encryption_service", "common_utils/encryption_service"] km_forward_x_request_id = ["common_utils/km_forward_x_request_id"] frm = ["api_models/frm", "hyperswitch_domain_models/frm", "hyperswitch_connectors/frm", "hyperswitch_interfaces/frm"] stripe = [] release = ["stripe", "email", "accounts_cache", "kv_store", "vergen", "recon", "external_services/aws_kms", "external_services/aws_s3", "keymanager_mtls", "keymanager_create", "encryption_service", "dynamic_routing"] oltp = ["storage_impl/oltp"] kv_store = ["scheduler/kv_store"] accounts_cache = [] vergen = ["router_env/vergen"] dummy_connector = ["api_models/dummy_connector", "euclid/dummy_connector", "hyperswitch_interfaces/dummy_connector", "kgraph_utils/dummy_connector", "hyperswitch_domain_models/dummy_connector"] external_access_dc = ["dummy_connector"] detailed_errors = ["api_models/detailed_errors", "error-stack/serde"] payouts = ["api_models/payouts", "common_enums/payouts", "hyperswitch_connectors/payouts", "hyperswitch_domain_models/payouts", "storage_impl/payouts"] payout_retry = ["payouts"] recon = ["email", "api_models/recon"] retry = [] v2 = ["customer_v2", "payment_methods_v2", "common_default", "api_models/v2", "diesel_models/v2", "hyperswitch_domain_models/v2", "storage_impl/v2", "kgraph_utils/v2", "common_utils/v2", "hyperswitch_connectors/v2","hyperswitch_interfaces/v2", "common_types/v2","revenue_recovery","refunds_v2","scheduler/v2","euclid/v2"] v1 = ["common_default", "api_models/v1", "diesel_models/v1", "hyperswitch_domain_models/v1", "storage_impl/v1", "hyperswitch_interfaces/v1", "kgraph_utils/v1", "common_utils/v1", "hyperswitch_connectors/v1", "common_types/v1","scheduler/v1"] customer_v2 = ["api_models/customer_v2", "diesel_models/customer_v2", "hyperswitch_domain_models/customer_v2", "storage_impl/customer_v2"] payment_methods_v2 = ["api_models/payment_methods_v2", "diesel_models/payment_methods_v2", "hyperswitch_domain_models/payment_methods_v2", "storage_impl/payment_methods_v2", "common_utils/payment_methods_v2"] dynamic_routing = ["external_services/dynamic_routing", "storage_impl/dynamic_routing", "api_models/dynamic_routing"] revenue_recovery =["api_models/revenue_recovery","hyperswitch_interfaces/revenue_recovery","hyperswitch_domain_models/revenue_recovery","hyperswitch_connectors/revenue_recovery"] refunds_v2 = ["diesel_models/refunds_v2", "storage_impl/refunds_v2"] # Partial Auth # The feature reduces the overhead of the router authenticating the merchant for every request, and trusts on `x-merchant-id` header to be present in the request. # This is named as partial-auth because the router will still try to authenticate if the `x-merchant-id` header is not present. partial-auth = []
ast_fragments
# file: hyperswitch/crates/router/Cargo.toml | crate: router [package] name = "router" description = "Modern, fast and open payment router" version = "0.2.0" edition.workspace = true default-run = "router" rust-version.workspace = true readme = "README.md" license.workspace = true
ast_fragments