replace cargo deps with workspace in lower_parms, module, mono, parse, problem, roc_target, serialize, solve, solve_problem, specialize_types, test_*

This commit is contained in:
Luke Boswell 2024-11-29 11:29:04 +11:00
parent 39ca41c243
commit fdaaca8c8b
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
14 changed files with 151 additions and 145 deletions

View file

@ -8,11 +8,10 @@ license.workspace = true
version.workspace = true
[dependencies]
roc_can = { path = "../can" }
roc_module = { path = "../module" }
roc_region = { path = "../region" }
roc_types = { path = "../types" }
roc_collections = { path = "../collections" }
roc_solve_problem = { path = "../solve_problem" }
roc_can.workspace = true
roc_module.workspace = true
roc_region.workspace = true
roc_types.workspace = true
roc_collections.workspace = true
roc_solve_problem.workspace = true
bumpalo.workspace = true

View file

@ -8,10 +8,10 @@ license.workspace = true
version.workspace = true
[dependencies]
roc_collections = { path = "../collections" }
roc_error_macros = { path = "../../error_macros" }
roc_ident = { path = "../ident" }
roc_region = { path = "../region" }
roc_collections.workspace = true
roc_error_macros.workspace = true
roc_ident.workspace = true
roc_region.workspace = true
bumpalo.workspace = true
static_assertions.workspace = true

View file

@ -8,25 +8,25 @@ license.workspace = true
version.workspace = true
[dependencies]
roc_builtins = { path = "../builtins" }
roc_can = { path = "../can" }
roc_collections = { path = "../collections" }
roc_debug_flags = { path = "../debug_flags" }
roc_derive = { path = "../derive" }
roc_derive_key = { path = "../derive_key" }
roc_error_macros = { path = "../../error_macros" }
roc_exhaustive = { path = "../exhaustive" }
roc_late_solve = { path = "../late_solve" }
roc_module = { path = "../module" }
roc_problem = { path = "../problem" }
roc_region = { path = "../region" }
roc_std = { path = "../../roc_std" }
roc_target = { path = "../roc_target" }
roc_tracing = { path = "../../tracing" }
roc_types = { path = "../types" }
roc_solve_schema = { path = "../solve_schema" }
roc_unify = { path = "../unify" }
ven_pretty = { path = "../../vendor/pretty" }
roc_builtins.workspace = true
roc_can.workspace = true
roc_collections.workspace = true
roc_debug_flags.workspace = true
roc_derive.workspace = true
roc_derive_key.workspace = true
roc_error_macros.workspace = true
roc_exhaustive.workspace = true
roc_late_solve.workspace = true
roc_module.workspace = true
roc_problem.workspace = true
roc_region.workspace = true
roc_std.workspace = true
roc_target.workspace = true
roc_tracing.workspace = true
roc_types.workspace = true
roc_solve_schema.workspace = true
roc_unify.workspace = true
ven_pretty.workspace = true
bitvec.workspace = true
arrayvec.workspace = true
@ -34,4 +34,4 @@ bumpalo.workspace = true
hashbrown.workspace = true
parking_lot.workspace = true
static_assertions.workspace = true
indoc.workspace = true
indoc.workspace = true

View file

@ -11,10 +11,10 @@ version.workspace = true
"parse_debug_trace" = []
[dependencies]
roc_collections = { path = "../collections" }
roc_module = { path = "../module" }
roc_region = { path = "../region" }
roc_error_macros = { path = "../../error_macros" }
roc_collections.workspace = true
roc_module.workspace = true
roc_region.workspace = true
roc_error_macros.workspace = true
soa.workspace = true

View file

@ -8,8 +8,8 @@ license.workspace = true
version.workspace = true
[dependencies]
roc_collections = { path = "../collections" }
roc_module = { path = "../module" }
roc_parse = { path = "../parse" }
roc_region = { path = "../region" }
roc_types = { path = "../types" }
roc_collections.workspace = true
roc_module.workspace = true
roc_parse.workspace = true
roc_region.workspace = true
roc_types.workspace = true

View file

@ -8,7 +8,7 @@ license.workspace = true
version.workspace = true
[dependencies]
roc_error_macros = { path = "../../error_macros" }
roc_error_macros.workspace = true
strum.workspace = true
strum_macros.workspace = true

View file

@ -8,4 +8,4 @@ license.workspace = true
version.workspace = true
[dependencies]
roc_collections = { path = "../collections" }
roc_collections.workspace = true

View file

@ -8,21 +8,21 @@ license.workspace = true
version.workspace = true
[dependencies]
roc_can = { path = "../can" }
roc_checkmate = { path = "../checkmate" }
roc_collections = { path = "../collections" }
roc_debug_flags = { path = "../debug_flags" }
roc_derive = { path = "../derive" }
roc_derive_key = { path = "../derive_key" }
roc_error_macros = { path = "../../error_macros" }
roc_exhaustive = { path = "../exhaustive" }
roc_module = { path = "../module" }
roc_problem = { path = "../problem" }
roc_region = { path = "../region" }
roc_solve_problem = { path = "../solve_problem" }
roc_solve_schema = { path = "../solve_schema" }
roc_types = { path = "../types" }
roc_unify = { path = "../unify" }
roc_can.workspace = true
roc_checkmate.workspace = true
roc_collections.workspace = true
roc_debug_flags.workspace = true
roc_derive.workspace = true
roc_derive_key.workspace = true
roc_error_macros.workspace = true
roc_exhaustive.workspace = true
roc_module.workspace = true
roc_problem.workspace = true
roc_region.workspace = true
roc_solve_problem.workspace = true
roc_solve_schema.workspace = true
roc_types.workspace = true
roc_unify.workspace = true
arrayvec.workspace = true
bumpalo.workspace = true
@ -30,14 +30,14 @@ bumpalo.workspace = true
soa.workspace = true
[dev-dependencies]
roc_builtins = { path = "../builtins" }
roc_builtins.workspace = true
roc_derive = { path = "../derive", features = ["debug-derived-symbols"] }
roc_load = { path = "../load" }
roc_parse = { path = "../parse" }
roc_problem = { path = "../problem" }
roc_reporting = { path = "../../reporting" }
roc_target = { path = "../roc_target" }
test_solve_helpers = { path = "../test_solve_helpers" }
roc_load.workspace = true
roc_parse.workspace = true
roc_problem.workspace = true
roc_reporting.workspace = true
roc_target.workspace = true
test_solve_helpers.workspace = true
bumpalo.workspace = true
indoc.workspace = true

View file

@ -8,10 +8,10 @@ license.workspace = true
version.workspace = true
[dependencies]
roc_can = { path = "../can" }
roc_collections = { path = "../collections" }
roc_exhaustive = { path = "../exhaustive" }
roc_module = { path = "../module" }
roc_problem = { path = "../problem" }
roc_region = { path = "../region" }
roc_types = { path = "../types" }
roc_can.workspace = true
roc_collections.workspace = true
roc_exhaustive.workspace = true
roc_module.workspace = true
roc_problem.workspace = true
roc_region.workspace = true
roc_types.workspace = true

View file

@ -8,12 +8,12 @@ license.workspace = true
version.workspace = true
[dependencies]
roc_can = { path = "../can" }
roc_region = { path = "../region" }
roc_types = { path = "../types" }
roc_collections = { path = "../collections" }
roc_module = { path = "../module" }
roc_solve = { path = "../solve" }
roc_can.workspace = true
roc_region.workspace = true
roc_types.workspace = true
roc_collections.workspace = true
roc_module.workspace = true
roc_solve.workspace = true
bitvec.workspace = true
arrayvec.workspace = true
@ -26,15 +26,15 @@ indoc.workspace = true
soa.workspace = true
[dev-dependencies]
roc_builtins = { path = "../builtins" }
roc_derive = { path = "../derive", features = ["debug-derived-symbols"] }
roc_load = { path = "../load" }
roc_parse = { path = "../parse" }
roc_problem = { path = "../problem" }
roc_reporting = { path = "../../reporting" }
roc_target = { path = "../roc_target" }
roc_solve = { path = "../solve" }
test_solve_helpers = { path = "../test_solve_helpers" }
roc_builtins.workspace = true
roc_derive = { workspace = true, features = ["debug-derived-symbols"] }
roc_load.workspace = true
roc_parse.workspace = true
roc_problem.workspace = true
roc_reporting.workspace = true
roc_target.workspace = true
roc_solve.workspace = true
test_solve_helpers.workspace = true
test_compile.workspace = true
pretty_assertions.workspace = true

View file

@ -12,26 +12,26 @@ name = "test_derive"
path = "src/tests.rs"
[dev-dependencies]
roc_builtins = { path = "../builtins" }
roc_can = { path = "../can" }
roc_collections = { path = "../collections" }
roc_constrain = { path = "../constrain" }
roc_debug_flags = { path = "../debug_flags" }
roc_derive = { path = "../derive", features = [
roc_builtins.workspace = true
roc_can.workspace = true
roc_collections.workspace = true
roc_constrain.workspace = true
roc_debug_flags.workspace = true
roc_derive = { workspace = true, features = [
"debug-derived-symbols",
"open-extension-vars",
] }
roc_derive_key = { path = "../derive_key" }
roc_load_internal = { path = "../load_internal" }
roc_module = { path = "../module" }
roc_packaging = { path = "../../packaging" }
roc_region = { path = "../region" }
roc_reporting = { path = "../../reporting" }
roc_solve = { path = "../solve" }
roc_target = { path = "../roc_target" }
roc_types = { path = "../types" }
roc_derive_key.workspace = true
roc_load_internal.workspace = true
roc_module.workspace = true
roc_packaging.workspace = true
roc_region.workspace = true
roc_reporting.workspace = true
roc_solve.workspace = true
roc_target.workspace = true
roc_types.workspace = true
ven_pretty = { path = "../../vendor/pretty" }
ven_pretty.workspace = true
bumpalo.workspace = true
insta.workspace = true

View file

@ -12,44 +12,48 @@ name = "test_gen"
path = "src/tests.rs"
[build-dependencies]
roc_bitcode = { path = "../builtins/bitcode" }
roc_command_utils = { path = "../../utils/command" }
wasi_libc_sys = { path = "../../wasi-libc-sys" }
roc_bitcode.workspace = true
roc_command_utils.workspace = true
wasi_libc_sys.workspace = true
tempfile.workspace = true
[dependencies]
roc_gen_llvm = { path = "../gen_llvm", optional = true }
roc_gen_llvm = { workspace = true, optional = true }
inkwell = { workspace = true, optional = true }
[dev-dependencies]
roc_gen_dev = { path = "../gen_dev" }
roc_gen_wasm = { path = "../gen_wasm" }
roc_bitcode = { path = "../builtins/bitcode" }
roc_build = { path = "../build", features = ["target-aarch64", "target-x86_64", "target-wasm32"] }
roc_builtins = { path = "../builtins" }
roc_can = { path = "../can" }
roc_collections = { path = "../collections" }
roc_command_utils = { path = "../../utils/command" }
roc_constrain = { path = "../constrain" }
roc_debug_flags = { path = "../debug_flags" }
roc_error_macros = { path = "../../error_macros" }
roc_load = { path = "../load" }
roc_module = { path = "../module" }
roc_mono = { path = "../mono" }
roc_packaging = { path = "../../packaging" }
roc_parse = { path = "../parse" }
roc_problem = { path = "../problem" }
roc_region = { path = "../region" }
roc_reporting = { path = "../../reporting" }
roc_solve = { path = "../solve" }
roc_std = { path = "../../roc_std" }
roc_target = { path = "../roc_target" }
roc_test_utils = { path = "../../test_utils"}
roc_types = { path = "../types" }
roc_unify = { path = "../unify" }
roc_wasm_interp = { path = "../../wasm_interp" }
roc_wasm_module = { path = "../../wasm_module" }
roc_gen_dev.workspace = true
roc_gen_wasm.workspace = true
roc_bitcode.workspace = true
roc_build = { workspace = true, features = [
"target-aarch64",
"target-x86_64",
"target-wasm32",
] }
roc_builtins.workspace = true
roc_can.workspace = true
roc_collections.workspace = true
roc_command_utils.workspace = true
roc_constrain.workspace = true
roc_debug_flags.workspace = true
roc_error_macros.workspace = true
roc_load.workspace = true
roc_module.workspace = true
roc_mono.workspace = true
roc_packaging.workspace = true
roc_parse.workspace = true
roc_problem.workspace = true
roc_region.workspace = true
roc_reporting.workspace = true
roc_solve.workspace = true
roc_std.workspace = true
roc_target.workspace = true
roc_test_utils.workspace = true
roc_types.workspace = true
roc_unify.workspace = true
roc_wasm_interp.workspace = true
roc_wasm_module.workspace = true
bumpalo.workspace = true
criterion.workspace = true

View file

@ -12,19 +12,19 @@ name = "test_mono"
path = "src/tests.rs"
[dev-dependencies]
roc_builtins = { path = "../builtins" }
roc_can = { path = "../can" }
roc_collections = { path = "../collections" }
roc_load = { path = "../load" }
roc_module = { path = "../module", features = ["debug-symbols"] }
roc_mono = { path = "../mono" }
roc_packaging = { path = "../../packaging" }
roc_reporting = { path = "../../reporting" }
roc_target = { path = "../roc_target" }
roc_test_utils = { path = "../../test_utils" }
roc_tracing = { path = "../../tracing" }
roc_builtins.workspace = true
roc_can.workspace = true
roc_collections.workspace = true
roc_load.workspace = true
roc_module = { workspace = true, features = ["debug-symbols"] }
roc_mono.workspace = true
roc_packaging.workspace = true
roc_reporting.workspace = true
roc_target.workspace = true
roc_test_utils.workspace = true
roc_tracing.workspace = true
test_mono_macros = { path = "../test_mono_macros" }
test_mono_macros.workspace = true
bumpalo.workspace = true
indoc.workspace = true