removed unused deps, added CI test

This commit is contained in:
Anton-4 2024-04-09 19:47:31 +02:00
parent 83904ec62b
commit f085b96f78
No known key found for this signature in database
GPG Key ID: 0971D718C0A9B937
11 changed files with 4 additions and 66 deletions

View File

@ -31,6 +31,9 @@ jobs:
- name: roc format check on builtins
run: cargo run --locked --release format --check crates/compiler/builtins/roc
- name: ensure there are no unused dependencies
run: cargo +nightly udeps
- name: zig wasm tests
run: cd crates/compiler/builtins/bitcode && ./run-wasm-tests.sh

49
Cargo.lock generated
View File

@ -1762,33 +1762,6 @@ dependencies = [
"windows-targets 0.48.5",
]
[[package]]
name = "peg"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "400bcab7d219c38abf8bd7cc2054eb9bbbd4312d66f6a5557d572a203f646f61"
dependencies = [
"peg-macros",
"peg-runtime",
]
[[package]]
name = "peg-macros"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "46e61cce859b76d19090f62da50a9fe92bab7c2a5f09e183763559a2ac392c90"
dependencies = [
"peg-runtime",
"proc-macro2",
"quote",
]
[[package]]
name = "peg-runtime"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "36bae92c60fa2398ce4678b98b2c4b5a7c61099961ca1fa305aec04a9ad28922"
[[package]]
name = "percent-encoding"
version = "2.3.0"
@ -2281,16 +2254,6 @@ dependencies = [
"tempfile",
]
[[package]]
name = "roc_bitcode_bc"
version = "0.0.1"
dependencies = [
"dunce",
"roc_command_utils",
"roc_error_macros",
"tempfile",
]
[[package]]
name = "roc_build"
version = "0.0.1"
@ -2338,7 +2301,6 @@ dependencies = [
"roc_module",
"roc_region",
"roc_target",
"tempfile",
]
[[package]]
@ -2505,8 +2467,6 @@ name = "roc_docs"
version = "0.0.1"
dependencies = [
"bumpalo",
"peg",
"pretty_assertions",
"pulldown-cmark",
"roc_builtins",
"roc_can",
@ -2599,7 +2559,6 @@ dependencies = [
"inkwell",
"morphic_lib",
"roc_alias_analysis",
"roc_bitcode_bc",
"roc_builtins",
"roc_collections",
"roc_debug_flags",
@ -3016,7 +2975,6 @@ dependencies = [
"roc_repl_eval",
"roc_reporting",
"roc_target",
"unicode-segmentation",
]
[[package]]
@ -3084,9 +3042,7 @@ dependencies = [
"arrayvec 0.7.4",
"bumpalo",
"indoc",
"insta",
"lazy_static",
"libtest-mimic",
"pretty_assertions",
"regex",
"roc_builtins",
@ -3100,7 +3056,6 @@ dependencies = [
"roc_exhaustive",
"roc_load",
"roc_module",
"roc_packaging",
"roc_parse",
"roc_problem",
"roc_region",
@ -3870,9 +3825,7 @@ version = "0.0.1"
dependencies = [
"bumpalo",
"indoc",
"insta",
"lazy_static",
"pretty_assertions",
"regex",
"roc_can",
"roc_derive",
@ -4226,10 +4179,8 @@ version = "0.0.1"
dependencies = [
"bumpalo",
"indoc",
"insta",
"lazy_static",
"libtest-mimic",
"pretty_assertions",
"regex",
"roc_builtins",
"roc_collections",

View File

@ -124,7 +124,6 @@ packed_struct = "0.10.1"
page_size = "0.5.0"
palette = "0.6.1"
parking_lot = "0.12"
peg = "0.8.1"
perfcnt = "0.8.0"
pest = "2.5.6"
pest_derive = "2.5.6"

View File

@ -13,6 +13,3 @@ roc_module = { path = "../module" }
roc_region = { path = "../region" }
roc_target = { path = "../roc_target" }
roc_error_macros = { path = "../../error_macros" }
tempfile.workspace = true

View File

@ -10,7 +10,6 @@ version.workspace = true
[dependencies]
morphic_lib = { path = "../../vendor/morphic_lib" }
roc_alias_analysis = { path = "../alias_analysis" }
roc_bitcode_bc = { path = "../builtins/bitcode/bc" }
roc_builtins = { path = "../builtins" }
roc_collections = { path = "../collections" }
roc_debug_flags = { path = "../debug_flags" }

View File

@ -17,7 +17,6 @@ roc_derive_key = { path = "../derive_key" }
roc_error_macros = { path = "../../error_macros" }
roc_exhaustive = { path = "../exhaustive" }
roc_module = { path = "../module" }
roc_packaging = { path = "../../packaging" }
roc_problem = { path = "../problem" }
roc_region = { path = "../region" }
roc_solve_problem = { path = "../solve_problem" }
@ -40,9 +39,7 @@ test_solve_helpers = { path = "../test_solve_helpers" }
bumpalo.workspace = true
indoc.workspace = true
insta.workspace = true
lazy_static.workspace = true
pretty_assertions.workspace = true
regex.workspace = true
tempfile.workspace = true
libtest-mimic.workspace = true

View File

@ -24,8 +24,6 @@ roc_types = { path = "../types" }
bumpalo.workspace = true
indoc.workspace = true
insta.workspace = true
lazy_static.workspace = true
pretty_assertions.workspace = true
regex.workspace = true
tempfile.workspace = true

View File

@ -29,9 +29,7 @@ test_solve_helpers = { path = "../test_solve_helpers" }
bumpalo.workspace = true
indoc.workspace = true
insta.workspace = true
lazy_static.workspace = true
pretty_assertions.workspace = true
regex.workspace = true
tempfile.workspace = true
libtest-mimic.workspace = true

View File

@ -23,9 +23,5 @@ roc_target = { path = "../compiler/roc_target" }
roc_types = { path = "../compiler/types" }
bumpalo.workspace = true
peg.workspace = true
pulldown-cmark.workspace = true
snafu.workspace = true
[dev-dependencies]
pretty_assertions.workspace = true

View File

@ -18,7 +18,6 @@ roc_target = { path = "../compiler/roc_target" }
bumpalo.workspace = true
const_format.workspace = true
unicode-segmentation.workspace = true
[lib]
name = "roc_repl_ui"

View File

@ -98,6 +98,7 @@
jq # used in several bash scripts
cargo-nextest # used to give more info for segfaults for gen tests
zls # zig language server
# cargo-udeps # to find unused dependencies
]);
aliases = ''