mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
build(deps): migrate usages of once_cell crate to standard library equivalents (#8030)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -315,6 +315,8 @@ mod tests {
|
||||
& payment_method /= gift_card
|
||||
& payment_method /= card_redirect
|
||||
& payment_method /= real_time_payment
|
||||
& payment_method /= open_banking
|
||||
& payment_method /= mobile_payment
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,10 +1,11 @@
|
||||
use std::sync::LazyLock;
|
||||
|
||||
use euclid_macros::knowledge;
|
||||
use once_cell::sync::Lazy;
|
||||
|
||||
use crate::{dssa::graph::euclid_graph_prelude, frontend::dir};
|
||||
|
||||
pub static ANALYSIS_GRAPH: Lazy<hyperswitch_constraint_graph::ConstraintGraph<dir::DirValue>> =
|
||||
Lazy::new(|| {
|
||||
pub static ANALYSIS_GRAPH: LazyLock<hyperswitch_constraint_graph::ConstraintGraph<dir::DirValue>> =
|
||||
LazyLock::new(|| {
|
||||
knowledge! {
|
||||
// Payment Method should be `Card` for a CardType to be present
|
||||
PaymentMethod(Card) ->> CardType(any);
|
||||
|
||||
Reference in New Issue
Block a user