mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Merge pull request #4515 from roc-lang/workspace-dependencies
Workspace dependencies
This commit is contained in:
commit
5f74e10d32
35 changed files with 261 additions and 198 deletions
|
@ -28,13 +28,15 @@ roc_reporting = { path = "../../reporting" }
|
|||
roc_error_macros = { path = "../../error_macros" }
|
||||
roc_std = { path = "../../roc_std" }
|
||||
roc_utils = { path = "../../utils" }
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
libloading = "0.7.1"
|
||||
tempfile = "3.2.0"
|
||||
inkwell = { path = "../../vendor/inkwell" }
|
||||
target-lexicon = "0.12.3"
|
||||
|
||||
wasi_libc_sys = { path = "../../wasi-libc-sys" }
|
||||
|
||||
bumpalo.workspace = true
|
||||
libloading.workspace = true
|
||||
tempfile.workspace = true
|
||||
target-lexicon.workspace = true
|
||||
inkwell.workspace = true
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
serde_json = "1.0.85"
|
||||
|
||||
|
|
|
@ -16,10 +16,11 @@ roc_parse = { path = "../parse" }
|
|||
roc_problem = { path = "../problem" }
|
||||
roc_types = { path = "../types" }
|
||||
roc_serialize = { path = "../serialize" }
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
static_assertions = "1.1.0"
|
||||
bitvec = "1"
|
||||
|
||||
bumpalo.workspace = true
|
||||
static_assertions.workspace = true
|
||||
bitvec.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "1.3.0"
|
||||
indoc = "1.0.7"
|
||||
pretty_assertions.workspace = true
|
||||
indoc.workspace = true
|
||||
|
|
|
@ -7,10 +7,10 @@ edition = "2021"
|
|||
description = "Domain-specific collections created for the needs of the compiler."
|
||||
|
||||
[dependencies]
|
||||
fnv = "1.0.7"
|
||||
im = "15.0.0"
|
||||
im-rc = "15.0.0"
|
||||
wyhash = "0.5.0"
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
hashbrown = { version = "0.12.3", features = [ "bumpalo" ] }
|
||||
bitvec = "1"
|
||||
fnv.workspace = true
|
||||
im.workspace = true
|
||||
im-rc.workspace = true
|
||||
wyhash.workspace = true
|
||||
bumpalo.workspace = true
|
||||
hashbrown.workspace = true
|
||||
bitvec.workspace = true
|
||||
|
|
|
@ -15,7 +15,7 @@ roc_module = { path = "../module" }
|
|||
roc_types = { path = "../types" }
|
||||
roc_can = { path = "../can" }
|
||||
roc_unify = { path = "../unify" }
|
||||
bumpalo = { version = "3.8.0", features = ["collections"] }
|
||||
bumpalo.workspace = true
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
|
|
@ -11,10 +11,11 @@ roc_collections = { path = "../collections" }
|
|||
roc_region = { path = "../region" }
|
||||
roc_module = { path = "../module" }
|
||||
roc_parse = { path = "../parse" }
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
bumpalo.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "1.3.0"
|
||||
indoc = "1.0.7"
|
||||
roc_test_utils = { path = "../../test_utils" }
|
||||
walkdir = "2.3.2"
|
||||
|
||||
pretty_assertions.workspace = true
|
||||
indoc.workspace = true
|
||||
walkdir.workspace = true
|
||||
|
|
|
@ -19,21 +19,19 @@ roc_solve = { path = "../solve" }
|
|||
roc_mono = { path = "../mono" }
|
||||
roc_target = { path = "../roc_target" }
|
||||
roc_error_macros = { path = "../../error_macros" }
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
target-lexicon = "0.12.3"
|
||||
# TODO: Deal with the update of object to 0.27.
|
||||
# It looks like it breaks linking the generated objects.
|
||||
# Probably just need to specify an extra field that used to be implicit or something.
|
||||
# When fixed also update the version of object in the linker.
|
||||
object = { version = "0.29.0", features = ["write"] }
|
||||
packed_struct = "0.10.0"
|
||||
|
||||
bumpalo.workspace = true
|
||||
target-lexicon.workspace = true
|
||||
object.workspace = true
|
||||
packed_struct.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
roc_can = { path = "../can" }
|
||||
roc_parse = { path = "../parse" }
|
||||
roc_std = { path = "../../roc_std" }
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
capstone = "0.11.0"
|
||||
|
||||
bumpalo.workspace = true
|
||||
capstone.workspace = true
|
||||
|
||||
[features]
|
||||
target-aarch64 = []
|
||||
|
|
|
@ -18,6 +18,7 @@ roc_std = { path = "../../roc_std" }
|
|||
roc_debug_flags = { path = "../debug_flags" }
|
||||
roc_region = { path = "../region" }
|
||||
morphic_lib = { path = "../../vendor/morphic_lib" }
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
inkwell = { path = "../../vendor/inkwell" }
|
||||
target-lexicon = "0.12.3"
|
||||
|
||||
bumpalo.workspace = true
|
||||
target-lexicon.workspace = true
|
||||
inkwell.workspace = true
|
||||
|
|
|
@ -7,8 +7,6 @@ license = "UPL-1.0"
|
|||
description = "Provides the WASM backend to generate Roc binaries."
|
||||
|
||||
[dependencies]
|
||||
bitvec = "1"
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
roc_builtins = { path = "../builtins" }
|
||||
roc_collections = { path = "../collections" }
|
||||
roc_intern = { path = "../intern" }
|
||||
|
@ -17,3 +15,6 @@ roc_mono = { path = "../mono" }
|
|||
roc_target = { path = "../roc_target" }
|
||||
roc_std = { path = "../../roc_std" }
|
||||
roc_error_macros = { path = "../../error_macros" }
|
||||
|
||||
bitvec.workspace = true
|
||||
bumpalo.workspace = true
|
||||
|
|
|
@ -15,4 +15,5 @@ roc_unify = { path = "../unify" }
|
|||
roc_solve = { path = "../solve" }
|
||||
roc_collections = { path = "../collections" }
|
||||
roc_error_macros = { path = "../../error_macros" }
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
|
||||
bumpalo.workspace = true
|
||||
|
|
|
@ -8,7 +8,6 @@ description = "Used to load a .roc file and coordinate the compiler pipeline, in
|
|||
|
||||
[dependencies]
|
||||
roc_load_internal = { path = "../load_internal" }
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
roc_target = { path = "../roc_target" }
|
||||
roc_can = { path = "../can" }
|
||||
roc_types = { path = "../types" }
|
||||
|
@ -16,13 +15,16 @@ roc_module = { path = "../module" }
|
|||
roc_collections = { path = "../collections" }
|
||||
roc_reporting = { path = "../../reporting" }
|
||||
|
||||
bumpalo.workspace = true
|
||||
|
||||
[build-dependencies]
|
||||
roc_builtins = { path = "../builtins" }
|
||||
roc_module = { path = "../module" }
|
||||
roc_reporting = { path = "../../reporting" }
|
||||
roc_target = { path = "../roc_target" }
|
||||
roc_can = { path = "../can" }
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
|
||||
bumpalo.workspace = true
|
||||
|
||||
[target.'cfg(not(windows))'.build-dependencies]
|
||||
roc_load_internal = { path = "../load_internal" }
|
||||
|
|
|
@ -29,13 +29,16 @@ roc_target = { path = "../roc_target" }
|
|||
roc_tracing = { path = "../../tracing" }
|
||||
roc_reporting = { path = "../../reporting" }
|
||||
roc_debug_flags = { path = "../debug_flags" }
|
||||
|
||||
ven_pretty = { path = "../../vendor/pretty" }
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
parking_lot = "0.12"
|
||||
crossbeam = "0.8.2"
|
||||
|
||||
bumpalo.workspace = true
|
||||
parking_lot.workspace = true
|
||||
crossbeam.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "1.3.0"
|
||||
maplit = "1.0.2"
|
||||
indoc = "1.0.7"
|
||||
roc_test_utils = { path = "../../test_utils" }
|
||||
|
||||
pretty_assertions.workspace = true
|
||||
indoc.workspace = true
|
||||
maplit.workspace = true
|
||||
|
|
|
@ -11,9 +11,9 @@ roc_region = { path = "../region" }
|
|||
roc_ident = { path = "../ident" }
|
||||
roc_collections = { path = "../collections" }
|
||||
roc_error_macros = {path = "../../error_macros"}
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
static_assertions = "1.1.0"
|
||||
snafu = { version = "0.7.1", features = ["backtraces"] }
|
||||
bumpalo.workspace = true
|
||||
static_assertions.workspace = true
|
||||
snafu.workspace = true
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
|
|
@ -25,7 +25,8 @@ roc_error_macros = {path="../../error_macros"}
|
|||
roc_debug_flags = {path="../debug_flags"}
|
||||
roc_tracing = { path = "../../tracing" }
|
||||
ven_pretty = { path = "../../vendor/pretty" }
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
hashbrown = { version = "0.12.3", features = [ "bumpalo" ] }
|
||||
static_assertions = "1.1.0"
|
||||
bitvec = "1.0.1"
|
||||
|
||||
bumpalo.workspace = true
|
||||
hashbrown.workspace = true
|
||||
static_assertions.workspace = true
|
||||
bitvec.workspace = true
|
||||
|
|
|
@ -13,17 +13,19 @@ description = "Implements the Roc parser, which transforms a textual representat
|
|||
roc_collections = { path = "../collections" }
|
||||
roc_region = { path = "../region" }
|
||||
roc_module = { path = "../module" }
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
encode_unicode = "1.0.0"
|
||||
|
||||
bumpalo.workspace = true
|
||||
encode_unicode.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = { git = "https://github.com/Anton-4/criterion.rs", features = ["html_reports"]}
|
||||
pretty_assertions = "1.3.0"
|
||||
indoc = "1.0.7"
|
||||
quickcheck = "1.0.3"
|
||||
quickcheck_macros = "1.0.0"
|
||||
roc_test_utils = { path = "../../test_utils" }
|
||||
|
||||
criterion.workspace = true
|
||||
pretty_assertions.workspace = true
|
||||
indoc.workspace = true
|
||||
quickcheck.workspace = true
|
||||
quickcheck_macros.workspace = true
|
||||
|
||||
[[bench]]
|
||||
name = "bench_parse"
|
||||
harness = false
|
||||
|
|
|
@ -20,8 +20,9 @@ roc_problem = { path = "../problem" }
|
|||
roc_solve_problem = { path = "../solve_problem" }
|
||||
roc_unify = { path = "../unify" }
|
||||
roc_debug_flags = { path = "../debug_flags" }
|
||||
arrayvec = "0.7.2"
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
|
||||
arrayvec.workspace = true
|
||||
bumpalo.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
roc_load = { path = "../load" }
|
||||
|
@ -32,10 +33,11 @@ roc_solve = { path = "../solve" }
|
|||
roc_target = { path = "../roc_target" }
|
||||
roc_reporting = { path = "../../reporting" }
|
||||
roc_derive = { path = "../derive", features = ["debug-derived-symbols"] }
|
||||
pretty_assertions = "1.3.0"
|
||||
indoc = "1.0.7"
|
||||
tempfile = "3.2.0"
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
regex = "1.5.5"
|
||||
lazy_static = "1.4.0"
|
||||
insta = "1.20.0"
|
||||
|
||||
pretty_assertions.workspace = true
|
||||
indoc.workspace = true
|
||||
tempfile.workspace = true
|
||||
bumpalo.workspace = true
|
||||
regex.workspace = true
|
||||
lazy_static.workspace = true
|
||||
insta.workspace = true
|
||||
|
|
|
@ -25,8 +25,10 @@ roc_constrain = { path = "../constrain" }
|
|||
roc_region = { path = "../region" }
|
||||
roc_solve = { path = "../solve" }
|
||||
roc_debug_flags = { path = "../debug_flags" }
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
indoc = "1.0.7"
|
||||
|
||||
ven_pretty = { path = "../../vendor/pretty" }
|
||||
pretty_assertions = "1.3.0"
|
||||
insta = "1.20.0"
|
||||
|
||||
bumpalo.workspace = true
|
||||
indoc.workspace = true
|
||||
pretty_assertions.workspace = true
|
||||
insta.workspace = true
|
||||
|
|
|
@ -39,16 +39,18 @@ roc_target = { path = "../roc_target" }
|
|||
roc_error_macros = { path = "../../error_macros" }
|
||||
roc_std = { path = "../../roc_std" }
|
||||
roc_debug_flags = {path="../debug_flags"}
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
libc = "0.2.135"
|
||||
inkwell = { path = "../../vendor/inkwell" }
|
||||
target-lexicon = "0.12.3"
|
||||
libloading = "0.7.1"
|
||||
tempfile = "3.2.0"
|
||||
indoc = "1.0.7"
|
||||
criterion = { git = "https://github.com/Anton-4/criterion.rs" }
|
||||
wasm3 = { git = "https://github.com/roc-lang/wasm3-rs", rev = "f0f807d1fc0a50d1d68e5799e54ee62c05af00f5" }
|
||||
lazy_static = "1.4.0"
|
||||
|
||||
bumpalo.workspace = true
|
||||
libc.workspace = true
|
||||
libloading.workspace = true
|
||||
criterion.workspace = true
|
||||
tempfile.workspace = true
|
||||
indoc.workspace = true
|
||||
wasm3.workspace = true
|
||||
lazy_static.workspace = true
|
||||
inkwell.workspace = true
|
||||
target-lexicon.workspace = true
|
||||
|
||||
|
||||
[features]
|
||||
default = ["gen-llvm"]
|
||||
|
|
|
@ -20,6 +20,8 @@ roc_mono = { path = "../mono" }
|
|||
roc_target = { path = "../roc_target" }
|
||||
roc_reporting = { path = "../../reporting" }
|
||||
roc_tracing = { path = "../../tracing" }
|
||||
|
||||
test_mono_macros = { path = "../test_mono_macros" }
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
indoc = "1.0.7"
|
||||
|
||||
bumpalo.workspace = true
|
||||
indoc.workspace = true
|
||||
|
|
|
@ -13,6 +13,8 @@ roc_module = { path = "../module" }
|
|||
roc_error_macros = {path="../../error_macros"}
|
||||
roc_debug_flags = {path="../debug_flags"}
|
||||
roc_serialize = {path="../serialize"}
|
||||
bumpalo = { version = "3.11.0", features = ["collections"] }
|
||||
static_assertions = "1.1.0"
|
||||
|
||||
ven_pretty = { path = "../../vendor/pretty" }
|
||||
|
||||
bumpalo.workspace = true
|
||||
static_assertions.workspace = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue