chore: resolve warnings in v2 (#8373)

Co-authored-by: Aishwariyaa Anand <aishwariyaa.anand@Aishwariyaa-Anand-C3PGW02T6Y.local>
This commit is contained in:
Aishwariyaa Anand
2025-06-22 16:58:23 +05:30
committed by GitHub
parent 0851c6ece5
commit d2d4f3d1d8
50 changed files with 218 additions and 320 deletions

View File

@ -3,12 +3,7 @@
//! This module provides types and functions for handling tokenized payment data,
//! including response structures and token generation utilities.
use common_enums::ApiVersion;
use diesel;
use serde::{Deserialize, Serialize};
use time::PrimitiveDateTime;
use crate::{consts::TOKEN_LENGTH, id_type::GlobalTokenId};
use crate::consts::TOKEN_LENGTH;
#[cfg(all(feature = "v2", feature = "tokenization_v2"))]
/// Generates a new token string