1[workspace]
2resolver = "2"
3members = [
4 "gleam-bin",
5 "compiler-cli",
6 "compiler-core",
7 "compiler-wasm",
8 "test-helpers-rs",
9 "test-output",
10 "test-package-compiler",
11 "test-project-compiler",
12]
13
14# common dependencies
15[workspace.dependencies]
16# Immutable data structures
17im = "15"
18# Extra iter methods
19itertools = "0"
20# Parsing
21regex = "1"
22# Colours in terminal
23termcolor = "1"
24# Data (de)serialisation
25serde = { version = "1", features = ["derive", "rc"] }
26serde_json = "1"
27# toml config file parsing
28toml = "0"
29# Enum trait impl macros
30strum = { version = "0", features = ["derive"] }
31# Hex package manager client
32hexpm = "4"
33# Creation of tar file archives
34tar = "0"
35# gzip compression
36flate2 = "1"
37# Logging
38tracing = "0"
39# Macro to work around Rust's traits not working with async. Sigh.
40async-trait = "0"
41# HTTP types
42http = "1"
43# Async combinators for futures
44futures = "0"
45# Little helper to omit fields that cannot be debug printed
46debug-ignore = "1"
47# base encoding
48base16 = "0"
49# Language server protocol server plumbing
50lsp-server = "0"
51lsp-types = "0"
52# Compact clone-on-write vector & string type
53ecow = "0"
54# Drop in replacement for std::path but with only utf-8
55camino = "1"
56# std::error::Error definition macro
57thiserror = "1"
58# Test assertion errors with diffs
59pretty_assertions = "1"
60# Snapshot testing to make test maintenance easier
61insta = { version = "1", features = ["glob"] }
62# A transitive dependency needed to compile into wasm32-unknown-unknown
63# See https://docs.rs/getrandom/latest/getrandom/index.html#webassembly-support
64getrandom = { version = "0.2", features = ["js"] }