diff --git a/crates/cards/Cargo.toml b/crates/cards/Cargo.toml index 4d38d3118f82..00445936e3d2 100644 --- a/crates/cards/Cargo.toml +++ b/crates/cards/Cargo.toml @@ -19,3 +19,6 @@ time = "0.3.21" # First party crates common_utils = { version = "0.1.0", path = "../common_utils" } masking = { version = "0.1.0", path = "../masking" } + +[dev-dependencies] +serde_json = "1.0.96" diff --git a/crates/common_enums/Cargo.toml b/crates/common_enums/Cargo.toml index b33d9d61f56d..db37d27ab0f1 100644 --- a/crates/common_enums/Cargo.toml +++ b/crates/common_enums/Cargo.toml @@ -20,3 +20,6 @@ utoipa = { version = "3.3.0", features = ["preserve_order"] } # First party crates router_derive = { version = "0.1.0", path = "../router_derive" } + +[dev-dependencies] +serde_json = "1.0.96" diff --git a/crates/common_utils/Cargo.toml b/crates/common_utils/Cargo.toml index 4438350a44e2..62bd747da1b0 100644 --- a/crates/common_utils/Cargo.toml +++ b/crates/common_utils/Cargo.toml @@ -46,3 +46,8 @@ common_enums = { version = "0.1.0", path = "../common_enums" } [target.'cfg(not(target_os = "windows"))'.dependencies] signal-hook-tokio = { version = "0.3.1", features = ["futures-v0_3"], optional = true } + +[dev-dependencies] +fake = "2.6.1" +proptest = "1.2.0" +test-case = "3.1.0" diff --git a/crates/euclid/Cargo.toml b/crates/euclid/Cargo.toml index 6cd28115f5dc..f0e24b1ff63c 100644 --- a/crates/euclid/Cargo.toml +++ b/crates/euclid/Cargo.toml @@ -29,6 +29,9 @@ connector_choice_mca_id = [] dummy_connector = [] backwards_compatibility = ["connector_choice_bcompat"] +[dev-dependencies] +criterion = "0.5" + [[bench]] name = "backends" harness = false diff --git a/crates/kgraph_utils/Cargo.toml b/crates/kgraph_utils/Cargo.toml index a1cb25e935b5..fa90b3974c20 100644 --- a/crates/kgraph_utils/Cargo.toml +++ b/crates/kgraph_utils/Cargo.toml @@ -19,6 +19,9 @@ serde = "1.0.163" serde_json = "1.0.96" thiserror = "1.0.43" +[dev-dependencies] +criterion = "0.5" + [[bench]] name = "evaluation" harness = false diff --git a/crates/masking/Cargo.toml b/crates/masking/Cargo.toml index 67ae3448ac1d..21d791642895 100644 --- a/crates/masking/Cargo.toml +++ b/crates/masking/Cargo.toml @@ -22,3 +22,6 @@ serde = { version = "1", features = ["derive"], optional = true } serde_json = "1.0.96" subtle = "=2.4.1" zeroize = { version = "1.6", default-features = false } + +[dev-dependencies] +serde_json = "1.0.96" diff --git a/crates/redis_interface/Cargo.toml b/crates/redis_interface/Cargo.toml index 633233e21829..8066787dcae2 100644 --- a/crates/redis_interface/Cargo.toml +++ b/crates/redis_interface/Cargo.toml @@ -18,3 +18,6 @@ tokio = "1.28.2" # First party crates common_utils = { version = "0.1.0", path = "../common_utils", features = ["async_ext"] } router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra_implicit_fields", "log_custom_entries_to_extra"] } + +[dev-dependencies] +tokio = { version = "1.28.2", features = ["macros", "rt-multi-thread"] } diff --git a/crates/router/Cargo.toml b/crates/router/Cargo.toml index 253062f9e8f2..0d7b89dd8d4f 100644 --- a/crates/router/Cargo.toml +++ b/crates/router/Cargo.toml @@ -121,6 +121,21 @@ signal-hook-tokio = { version = "0.3.1", features = ["futures-v0_3"] } [build-dependencies] router_env = { version = "0.1.0", path = "../router_env", default-features = false } +[dev-dependencies] +actix-http = "3.3.1" +awc = { version = "3.1.1", features = ["rustls"] } +derive_deref = "1.1.1" +rand = "0.8.5" +serial_test = "2.0.0" +thirtyfour = "0.31.0" +time = { version = "0.3.21", features = ["macros"] } +tokio = "1.28.2" +toml = "0.7.4" +wiremock = "0.5" + +# First party dev-dependencies +test_utils = { version = "0.1.0", path = "../test_utils" } + [[bin]] name = "router" path = "src/bin/router.rs" diff --git a/crates/router_derive/Cargo.toml b/crates/router_derive/Cargo.toml index 4d82afc38eb6..b4e60a8c2a33 100644 --- a/crates/router_derive/Cargo.toml +++ b/crates/router_derive/Cargo.toml @@ -17,3 +17,9 @@ indexmap = "2.0.0" proc-macro2 = "1.0.56" quote = "1.0.26" syn = { version = "1.0.109", features = ["full", "extra-traits"] } # the full feature does not seem to encompass all the features + +[dev-dependencies] +diesel = { version = "2.1.0", features = ["postgres"] } +serde = { version = "1.0.163", features = ["derive"] } +serde_json = "1.0.96" +strum = { version = "0.24.1", features = ["derive"] } diff --git a/crates/router_env/Cargo.toml b/crates/router_env/Cargo.toml index dea11e4ef7fe..266baf0e3863 100644 --- a/crates/router_env/Cargo.toml +++ b/crates/router_env/Cargo.toml @@ -30,6 +30,9 @@ tracing-opentelemetry = { version = "0.19.0" } tracing-subscriber = { version = "0.3.17", default-features = true, features = ["env-filter", "json", "registry"] } vergen = { version = "8.2.1", optional = true, features = ["cargo", "git", "git2", "rustc"] } +[dev-dependencies] +tokio = { version = "1.28.2", features = ["macros", "rt-multi-thread"] } + [build-dependencies] cargo_metadata = "0.15.4" vergen = { version = "8.2.1", features = ["cargo", "git", "git2", "rustc"], optional = true }