diff --git a/crates/hir_def/Cargo.toml b/crates/hir_def/Cargo.toml index 2f07b6d01a..c2d99280f8 100644 --- a/crates/hir_def/Cargo.toml +++ b/crates/hir_def/Cargo.toml @@ -28,10 +28,10 @@ base_db = { path = "../base_db", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } hir_expand = { path = "../hir_expand", version = "0.0.0" } -test_utils = { path = "../test_utils", version = "0.0.0" } mbe = { path = "../mbe", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } tt = { path = "../tt", version = "0.0.0" } [dev-dependencies] +test_utils = { path = "../test_utils" } expect-test = "1.1" diff --git a/crates/hir_expand/Cargo.toml b/crates/hir_expand/Cargo.toml index 5271110d24..76cb03126e 100644 --- a/crates/hir_expand/Cargo.toml +++ b/crates/hir_expand/Cargo.toml @@ -21,4 +21,6 @@ parser = { path = "../parser", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } tt = { path = "../tt", version = "0.0.0" } mbe = { path = "../mbe", version = "0.0.0" } -test_utils = { path = "../test_utils", version = "0.0.0" } + +[dev-dependencies] +test_utils = { path = "../test_utils" } diff --git a/crates/hir_ty/Cargo.toml b/crates/hir_ty/Cargo.toml index 6131ebee81..b9c93f56fb 100644 --- a/crates/hir_ty/Cargo.toml +++ b/crates/hir_ty/Cargo.toml @@ -29,9 +29,9 @@ hir_expand = { path = "../hir_expand", version = "0.0.0" } base_db = { path = "../base_db", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -test_utils = { path = "../test_utils", version = "0.0.0" } [dev-dependencies] +test_utils = { path = "../test_utils" } expect-test = "1.1" tracing = "0.1" tracing-subscriber = { version = "0.2", default-features = false, features = ["env-filter", "registry"] } diff --git a/crates/ide/Cargo.toml b/crates/ide/Cargo.toml index f7c5efaf33..107bd84328 100644 --- a/crates/ide/Cargo.toml +++ b/crates/ide/Cargo.toml @@ -27,7 +27,6 @@ text_edit = { path = "../text_edit", version = "0.0.0" } ide_db = { path = "../ide_db", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } -test_utils = { path = "../test_utils", version = "0.0.0" } ide_assists = { path = "../ide_assists", version = "0.0.0" } ide_ssr = { path = "../ide_ssr", version = "0.0.0" } ide_completion = { path = "../ide_completion", version = "0.0.0" } @@ -37,4 +36,5 @@ ide_completion = { path = "../ide_completion", version = "0.0.0" } hir = { path = "../hir", version = "0.0.0" } [dev-dependencies] +test_utils = { path = "../test_utils" } expect-test = "1.1" diff --git a/crates/ide_assists/Cargo.toml b/crates/ide_assists/Cargo.toml index 3bf0099a92..dd9aa27c6c 100644 --- a/crates/ide_assists/Cargo.toml +++ b/crates/ide_assists/Cargo.toml @@ -21,7 +21,7 @@ text_edit = { path = "../text_edit", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } ide_db = { path = "../ide_db", version = "0.0.0" } hir = { path = "../hir", version = "0.0.0" } -test_utils = { path = "../test_utils", version = "0.0.0" } [dev-dependencies] +test_utils = { path = "../test_utils" } expect-test = "1.1" diff --git a/crates/ide_completion/Cargo.toml b/crates/ide_completion/Cargo.toml index 84aa40736d..585ecca506 100644 --- a/crates/ide_completion/Cargo.toml +++ b/crates/ide_completion/Cargo.toml @@ -22,11 +22,11 @@ text_edit = { path = "../text_edit", version = "0.0.0" } base_db = { path = "../base_db", version = "0.0.0" } ide_db = { path = "../ide_db", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } -test_utils = { path = "../test_utils", version = "0.0.0" } # completions crate should depend only on the top-level `hir` package. if you need # something from some `hir_xxx` subpackage, reexport the API via `hir`. hir = { path = "../hir", version = "0.0.0" } [dev-dependencies] +test_utils = { path = "../test_utils" } expect-test = "1.1" diff --git a/crates/ide_db/Cargo.toml b/crates/ide_db/Cargo.toml index 1f855c6214..1f7a90d203 100644 --- a/crates/ide_db/Cargo.toml +++ b/crates/ide_db/Cargo.toml @@ -24,10 +24,10 @@ syntax = { path = "../syntax", version = "0.0.0" } text_edit = { path = "../text_edit", version = "0.0.0" } base_db = { path = "../base_db", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } -test_utils = { path = "../test_utils", version = "0.0.0" } # ide should depend only on the top-level `hir` package. if you need # something from some `hir_xxx` subpackage, reexport the API via `hir`. hir = { path = "../hir", version = "0.0.0" } [dev-dependencies] +test_utils = { path = "../test_utils" } expect-test = "1.1" diff --git a/crates/ide_ssr/Cargo.toml b/crates/ide_ssr/Cargo.toml index 315691f40c..8c31df13a0 100644 --- a/crates/ide_ssr/Cargo.toml +++ b/crates/ide_ssr/Cargo.toml @@ -19,7 +19,7 @@ text_edit = { path = "../text_edit", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } ide_db = { path = "../ide_db", version = "0.0.0" } hir = { path = "../hir", version = "0.0.0" } -test_utils = { path = "../test_utils", version = "0.0.0" } [dev-dependencies] +test_utils = { path = "../test_utils" } expect-test = "1.1" diff --git a/crates/mbe/Cargo.toml b/crates/mbe/Cargo.toml index c7d5e39fa3..1392142072 100644 --- a/crates/mbe/Cargo.toml +++ b/crates/mbe/Cargo.toml @@ -18,8 +18,8 @@ log = "0.4.8" syntax = { path = "../syntax", version = "0.0.0" } parser = { path = "../parser", version = "0.0.0" } tt = { path = "../tt", version = "0.0.0" } -test_utils = { path = "../test_utils", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" } [dev-dependencies] profile = { path = "../profile" } +test_utils = { path = "../test_utils" } diff --git a/crates/proc_macro_srv/Cargo.toml b/crates/proc_macro_srv/Cargo.toml index 4c1b3036ae..63b3f15322 100644 --- a/crates/proc_macro_srv/Cargo.toml +++ b/crates/proc_macro_srv/Cargo.toml @@ -17,9 +17,9 @@ memmap2 = "0.2.0" tt = { path = "../tt", version = "0.0.0" } mbe = { path = "../mbe", version = "0.0.0" } proc_macro_api = { path = "../proc_macro_api", version = "0.0.0" } -test_utils = { path = "../test_utils", version = "0.0.0" } [dev-dependencies] +test_utils = { path = "../test_utils" } cargo_metadata = "0.13" # used as proc macro test targets