Issue:
Bug: [BUG] Fix just run_v2



### Feature Description

A trait in Dynamic Routing wasn't feature gated, which led to the command `just run_v2` not working. 
This is to be fixed

### Possible Implementation

Just have to feature gate the trait 

### Have you spent some time checking if this feature request has been raised before?

- [x] I checked and didn't find a similar issue

### Have you read the Contributing Guidelines?

- [x] I have read the [Contributing Guidelines](https://github.com/juspay/hyperswitch/blob/main/docs/CONTRIBUTING.md)

### Are you willing to submit a PR?

Yes, I am willing to submit a PR!

Pull request description:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
The command `just run_v2` errored out due to missing feature flags on Dynamic Routing trait.
This PR fixes that.


### Additional Changes

- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables

<!--
Provide links to the files with corresponding changes.

Following are the paths where you can find config files:
1. `config`
2. `crates/router/src/configs`
3. `loadtest/config`
-->


## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.

If you don't have an issue, we'd recommend starting with one first so the PR
can focus on the implementation (unless it is an obvious bug or documentation fix
that will have little conversation).
-->


## How did you test it?
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->
v2 server should run


## Checklist
<!-- Put an `x` in the boxes that apply -->

- [ ] I formatted the code `cargo +nightly fmt --all`
- [ ] I addressed lints thrown by `cargo clippy`
- [ ] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible


Testing:

v2 server should run

Patch:
diff --git a/crates/router/src/core/routing/helpers.rs b/crates/router/src/core/routing/helpers.rs
index a08f80354bf..6a21dddc066 100644
--- a/crates/router/src/core/routing/helpers.rs
+++ b/crates/router/src/core/routing/helpers.rs
@@ -2,9 +2,11 @@
 //!
 //! Functions that are used to perform the retrieval of merchant's
 //! routing dict, configs, defaults
+use std::fmt::Debug;
 #[cfg(all(feature = "dynamic_routing", feature = "v1"))]
 use std::str::FromStr;
-use std::{fmt::Debug, sync::Arc};
+#[cfg(all(feature = "dynamic_routing", feature = "v1"))]
+use std::sync::Arc;
 
 use api_models::routing as routing_types;
 #[cfg(all(feature = "dynamic_routing", feature = "v1"))]
@@ -13,7 +15,7 @@ use common_utils::{ext_traits::Encode, id_type, types::keymanager::KeyManagerSta
 use diesel_models::configs;
 #[cfg(all(feature = "v1", feature = "dynamic_routing"))]
 use diesel_models::dynamic_routing_stats::DynamicRoutingStatsNew;
-#[cfg(feature = "v1")]
+#[cfg(all(feature = "dynamic_routing", feature = "v1"))]
 use diesel_models::routing_algorithm;
 use error_stack::ResultExt;
 #[cfg(all(feature = "dynamic_routing", feature = "v1"))]
@@ -21,14 +23,16 @@ use external_services::grpc_client::dynamic_routing::{
     contract_routing_client::ContractBasedDynamicRouting,
     success_rate_client::SuccessBasedDynamicRouting,
 };
-#[cfg(feature = "v1")]
+#[cfg(all(feature = "dynamic_routing", feature = "v1"))]
 use hyperswitch_domain_models::api::ApplicationResponse;
 #[cfg(all(feature = "dynamic_routing", feature = "v1"))]
 use router_env::logger;
-#[cfg(any(feature = "dynamic_routing", feature = "v1"))]
+#[cfg(all(feature = "dynamic_routing", feature = "v1"))]
 use router_env::{instrument, tracing};
 use rustc_hash::FxHashSet;
-use storage_impl::redis::cache::{self, Cacheable};
+use storage_impl::redis::cache;
+#[cfg(all(feature = "dynamic_routing", feature = "v1"))]
+use storage_impl::redis::cache::Cacheable;
 
 #[cfg(all(feature = "dynamic_routing", feature = "v1"))]
 use crate::db::errors::StorageErrorExt;
@@ -41,7 +45,7 @@ use crate::{
     types::{domain, storage},
     utils::StringExt,
 };
-#[cfg(feature = "v1")]
+#[cfg(all(feature = "dynamic_routing", feature = "v1"))]
 use crate::{core::metrics as core_metrics, types::transformers::ForeignInto};
 pub const SUCCESS_BASED_DYNAMIC_ROUTING_ALGORITHM: &str =
     "Success rate based dynamic routing algorithm";
@@ -566,6 +570,7 @@ pub fn get_default_config_key(
     }
 }
 
+#[cfg(all(feature = "dynamic_routing", feature = "v1"))]
 #[async_trait::async_trait]
 pub trait DynamicRoutingCache {
     async fn get_cached_dynamic_routing_config_for_profile(
@@ -584,6 +589,7 @@ pub trait DynamicRoutingCache {
         Fut: futures::Future<Output = errors::CustomResult<T, errors::StorageError>> + Send;
 }
 
+#[cfg(all(feature = "dynamic_routing", feature = "v1"))]
 #[async_trait::async_trait]
 impl DynamicRoutingCache for routing_types::SuccessBasedRoutingConfig {
     async fn get_cached_dynamic_routing_config_for_profile(
@@ -620,6 +626,7 @@ impl DynamicRoutingCache for routing_types::SuccessBasedRoutingConfig {
     }
 }
 
+#[cfg(all(feature = "dynamic_routing", feature = "v1"))]
 #[async_trait::async_trait]
 impl DynamicRoutingCache for routing_types::ContractBasedRoutingConfig {
     async fn get_cached_dynamic_routing_config_for_profile(
@@ -1502,7 +1509,7 @@ where
     Ok(ApplicationResponse::Json(updated_routing_record))
 }
 
-#[cfg(feature = "v1")]
+#[cfg(all(feature = "dynamic_routing", feature = "v1"))]
 #[instrument(skip_all)]
 pub async fn default_specific_dynamic_routing_setup(
     state: &SessionState,