juspay / hyperswitch

An open source payments switch written in Rust to make payments fast, reliable and affordable
https://hyperswitch.io/
Apache License 2.0
12.09k stars 1.27k forks source link

refactor(core): feature gates common_util diesel dependency #6190

Open sahkal opened 1 day ago

sahkal commented 1 day ago

Type of Change

Description

Additional Changes

Motivation and Context

How did you test it?

Checklist

semanticdiff-com[bot] commented 1 day ago

Review changes with SemanticDiff.

Analyzed 15 of 17 files.

Overall, the semantic diff is 33% smaller than the GitHub diff.

1 files do not contain logic changes. Filename Status
:grey_question: crates/diesel_models/Cargo.toml Unsupported file format
:grey_question: crates/common_utils/Cargo.toml Unsupported file format
:heavy_check_mark: crates/common_utils/src/encryption.rs 20.62% smaller
:heavy_check_mark: crates/common_utils/src/errors.rs No logic changes found
:heavy_check_mark: crates/common_utils/src/id_type.rs 22.46% smaller
:heavy_check_mark: crates/common_utils/src/link_utils.rs 38.5% smaller
:heavy_check_mark: crates/common_utils/src/macros.rs 24.99% smaller
:heavy_check_mark: crates/common_utils/src/payout_method_utils.rs 51.7% smaller
:heavy_check_mark: crates/common_utils/src/pii.rs 27.42% smaller
:heavy_check_mark: crates/common_utils/src/types.rs 20.23% smaller
:heavy_check_mark: crates/common_utils/src/id_type/customer.rs Analyzed
:heavy_check_mark: crates/common_utils/src/id_type/merchant.rs Analyzed
:heavy_check_mark: crates/common_utils/src/id_type/merchant_connector_account.rs Analyzed
:heavy_check_mark: crates/common_utils/src/id_type/organization.rs Analyzed
:heavy_check_mark: crates/common_utils/src/id_type/payment.rs Analyzed
:heavy_check_mark: crates/common_utils/src/id_type/profile.rs Analyzed
:heavy_check_mark: crates/common_utils/src/id_type/routing.rs Analyzed