Fork of daniellemaywood.uk/gleam — Wasm codegen work
1# SPDX-License-Identifier: Apache-2.0
2# SPDX-FileCopyrightText: 2020 The Gleam contributors
3
4[workspace]
5resolver = "2"
6members = [
7 "gleam-bin",
8 "compiler-cli",
9 "compiler-core",
10 "compiler-wasm",
11 "language-server",
12 "test-helpers-rs",
13 "test-commands",
14 "test-output",
15 "test-package-compiler",
16 "test-project-compiler",
17 "hexpm",
18 "pretty-arena",
19 "format",
20 "erlang-term-format",
21 "erlang-generation",
22]
23
24# common dependencies
25[workspace.dependencies]
26# Command line interface
27clap = { version = "4", features = ["derive"] }
28# Immutable data structures
29im = { version = "15", features = ["serde"] }
30# Extra iter methods
31itertools = "0"
32# Parsing
33regex = "1"
34# Colours in terminal
35termcolor = "1"
36# Data (de)serialisation
37serde = { version = "1", features = ["derive", "rc"] }
38serde_json = "1"
39# toml config file parsing
40toml = "0.9"
41# Enum trait impl macros
42strum = { version = "0", features = ["derive"] }
43# Creation of tar file archives
44tar = "0"
45# gzip compression
46flate2 = "1"
47# Logging
48tracing = "0"
49# Macro to work around Rust's traits not working with async. Sigh.
50async-trait = "0"
51# HTTP types
52http = "1"
53http-serde = "2.1.1"
54# Async combinators for futures
55futures = "0"
56# Little helper to omit fields that cannot be debug printed
57debug-ignore = "1"
58# base encoding
59base16 = "0"
60# Language server protocol server plumbing
61lsp-server = "0"
62lsp-types = { package = "gen-lsp-types", version = "0.5.0", features = ["url"] }
63# Compact clone-on-write vector & string type
64ecow = "0"
65# Drop in replacement for std::path but with only utf-8
66camino = "1"
67# std::error::Error definition macro
68thiserror = "2"
69# Test assertion errors with diffs
70pretty_assertions = "1"
71# Snapshot testing to make test maintenance easier
72insta = { version = "1", features = ["glob"] }
73# A transitive dependency needed to compile into wasm32-unknown-unknown
74# See https://docs.rs/getrandom/latest/getrandom/index.html#webassembly-support
75getrandom = { version = "0.2", features = ["js"] }
76# Non-empty vectors
77vec1 = "1"
78# Pubgrub dependency resolution algorithm
79pubgrub = "0.3"
80# Open the user's web browser
81opener = "0"
82# Recursively traversing directories
83ignore = "0"
84# Parsing of arbitrary width int values
85num-bigint = { version = "0.4.6", features = ["serde"] }
86num-traits = "0.2.19"
87# Unicode grapheme traversal
88unicode-segmentation = "1.13.2"
89# Checksums
90xxhash-rust = { version = "0", features = ["xxh3"] }