update as many dependencies as possible to use the workspace version of the package

This commit is contained in:
Brendan Hansknecht 2023-03-06 12:43:48 -08:00
parent 21af20597e
commit c9e4badd93
No known key found for this signature in database
GPG Key ID: 0EA784685083E75B
11 changed files with 38 additions and 34 deletions

1
Cargo.lock generated
View File

@ -3378,7 +3378,6 @@ name = "roc_glue"
version = "0.0.1"
dependencies = [
"bumpalo",
"clap 3.2.20",
"cli_utils",
"dircpy",
"fnv",

View File

@ -110,15 +110,12 @@ snafu = { version = "0.7.1", features = ["backtraces"] }
static_assertions = "1.1.0"
strip-ansi-escapes = "0.1.1"
strum = { version = "0.24.1", features = ["derive"] }
strum_macros = "0.24.1"
target-lexicon = "0.12.3"
tempfile = "3.2.0"
unicode-segmentation = "1.10.0"
walkdir = "2.3.2"
wyhash = "0.5.0"
# 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.
object = { version = "0.29.0", features = ["read", "write"] }
# Optimizations based on https://deterministic.space/high-performance-rust.html

View File

@ -89,14 +89,15 @@ roc_repl_expect = { path = "../repl_expect" }
[dev-dependencies]
pretty_assertions = "1.3.0"
roc_test_utils = { path = "../test_utils" }
roc_utils = { path = "../utils" }
indoc = "1.0.7"
serial_test = "0.9.0"
criterion = { git = "https://github.com/Anton-4/criterion.rs"}
cli_utils = { path = "../cli_utils" }
parking_lot = "0.12"
criterion.workspace = true
parking_lot.workspace = true
pretty_assertions.workspace = true
[[bench]]
name = "time_bench"

View File

@ -10,7 +10,9 @@ description = "Our own markup language for Roc code. Used by the editor and the
roc_ast = { path = "../ast" }
roc_module = { path = "../compiler/module" }
roc_utils = { path = "../utils" }
serde = { version = "1.0.144", features = ["derive"] }
palette = "0.6.1"
snafu = { version = "0.7.1", features = ["backtraces"] }
bumpalo = { version = "3.11.1", features = ["collections"] }
bumpalo.workspace = true
serde.workspace = true
snafu.workspace = true

View File

@ -15,4 +15,5 @@ roc_parse = { path = "../parse" }
roc_problem = { path = "../problem" }
roc_types = { path = "../types" }
roc_can = { path = "../can" }
arrayvec = "0.7.2"
arrayvec.workspace = true

View File

@ -7,4 +7,4 @@ edition = "2021"
description = "Data structures for storing source-code-location information, used heavily for contextual error messages."
[dependencies]
static_assertions = "1.1.0"
static_assertions.workspace = true

View File

@ -7,6 +7,7 @@ edition = "2021"
description = "Provides types and helpers for compiler targets such as default_x86_64."
[dependencies]
target-lexicon = "0.12.3"
strum = "0.24.0"
strum_macros = "0.24"
strum.workspace = true
strum_macros.workspace = true
target-lexicon.workspace = true

View File

@ -33,10 +33,6 @@ roc_packaging = { path = "../packaging" }
roc_reporting = { path = "../reporting" }
roc_solve = { path = "../compiler/solve" }
ven_graph = { path = "../vendor/pathfinding" }
bumpalo = { version = "3.11.1", features = ["collections"] }
arrayvec = "0.7.2"
libc = "0.2.135"
page_size = "0.4.2"
# once winit 0.26 is out, check if copypasta can be updated simultaneously so they use the same versions for their dependencies. This will save build time.
winit = "0.26.0"
wgpu = "0.12.0"
@ -45,7 +41,6 @@ glyph_brush = "0.7.5"
log = "0.4.14"
futures = "0.3.24"
cgmath = "0.18.0"
snafu = { version = "0.7.1", features = ["backtraces"] }
colored = "2.0.0"
pest = "2.3.1"
pest_derive = "2.3.1"
@ -54,11 +49,16 @@ palette = "0.6.1"
confy = { git = 'https://github.com/rust-cli/confy', features = [
"yaml_conf"
], default-features = false }
serde = { version = "1.0.144", features = ["derive"] }
nonempty = "0.8.0"
threadpool = "1.8.1"
arrayvec.workspace = true
bumpalo.workspace = true
fs_extra.workspace = true
libc.workspace = true
page_size.workspace = true
serde.workspace = true
snafu.workspace = true
[dependencies.bytemuck]
version = "1.12.1"
@ -66,5 +66,6 @@ features = ["derive"]
[dev-dependencies]
rand = "0.8.4"
tempfile = "3.2.0"
uuid = { version = "1.1.2", features = ["v4"] }
tempfile.workspace = true

View File

@ -20,17 +20,18 @@ roc_collections = { path = "../compiler/collections" }
roc_target = { path = "../compiler/roc_target" }
roc_error_macros = { path = "../error_macros" }
roc_tracing = { path = "../tracing" }
bumpalo = { version = "3.11.1", features = ["collections"] }
target-lexicon = "0.12.3"
clap = { version = "3.2.20", default-features = false, features = ["std", "color", "suggestions", "derive"] }
strum = "0.24.0"
strum_macros = "0.24"
indexmap = "1.8.1"
fnv = "1.0.7"
bumpalo.workspace = true
fnv.workspace = true
strum.workspace = true
strum_macros.workspace = true
target-lexicon.workspace = true
[dev-dependencies]
pretty_assertions = "1.3.0"
tempfile = "3.2.0"
indoc = "1.0.7"
cli_utils = { path = "../cli_utils" }
dircpy = "0.3.13"
indoc.workspace = true
pretty_assertions.workspace = true
tempfile.workspace = true

View File

@ -7,5 +7,6 @@ edition = "2021"
description = "For syntax highlighting, starts with a string and returns our markup nodes."
[dependencies]
peg = "0.8.1"
roc_code_markup = { path = "../code_markup"}
peg.workspace = true

View File

@ -14,13 +14,13 @@ roc_error_macros = { path = "../error_macros" }
tar = "0.4.38" # used for `roc build --tar`
brotli = "3.3.4" # used for decompressing tarballs over HTTPS, if the server supports brotli
flate2 = "1.0.24"
walkdir = "2.3.2"
blake3 = "1.3.1"
base64-url = "1.4.13"
bumpalo.workspace = true
fs_extra.workspace = true
tempfile.workspace = true
walkdir.workspace = true
[target.'cfg(not(target_family = "wasm"))'.dependencies]
# default-features=false removes libopenssl as a dependency on Linux, which might not be available!