···6 "compiler-wasm",
7 "test-package-compiler",
8]
9+10+# common dependencies
11+[workspace.dependencies]
12+# Immutable data structures
13+im = "15.1.0"
14+# Extra iter methods
15+itertools = "0.12.1"
16+# Parsing
17+regex = "1.10.3"
18+# Colours in terminal
19+termcolor = "1.1.2"
20+# Data (de)serialisation
21+serde = { version = "1.0", features = ["derive"] }
22+serde_json = "1.0"
23+# toml config file parsing
24+toml = "0.5.8"
25+walkdir = "2.3.2"
26+# Enum trait impl macros
27+strum = { version = "0.26.2", features = ["derive"] }
28+# Hex package manager client
29+hexpm = "2.1.1"
30+# Creation of tar file archives
31+tar = "0.4.37"
32+# gzip compression
33+flate2 = "1.0.22"
34+# Byte array data type
35+bytes = "1.1.0"
36+# Logging
37+tracing = "0.1.40"
38+# Macro to work around Rust's traits not working with async. Sigh.
39+async-trait = "0.1.51"
40+# HTTP types
41+http = "0.2"
42+# Async combinators for futures
43+futures = "0.3.30"
44+# Little helper to omit fields that cannot be debug printed
45+debug-ignore = "1.0.1"
46+# base encoding
47+base16 = "0.2.1"
48+# Language server protocol server plumbing
49+lsp-server = "0.7"
50+lsp-types = "0.95"
51+# Compact clone-on-write vector & string type
52+ecow = "0.2.1"
53+# Drop in replacement for std::path but with only utf-8
54+camino = "1.1.6"
55+# std::error::Error definition macro
56+thiserror = "1.0.58"
57+# Test assertion errors with diffs
58+pretty_assertions = "1.0.0"
59+# Snapshot testing to make test maintenance easier
60+insta = "1.8.0"
+26-26
compiler-cli/Cargo.toml
···9# The pure compiler
10gleam-core = { path = "../compiler-core" }
11# Immutable data structures
12-im = "15.1.0"
13# OS SIGINT and SIGTERM signal handling
14ctrlc = { version = "3.2.1", features = ["termination"] }
15# Command line interface
16clap = { version = "4.5.2", features = ["derive"] }
17# Extra iter methods
18-itertools = "0.12.1"
19# Parsing
20-regex = "1.5.4"
21# Colours in terminal
22-termcolor = "1.1.2"
23# Data (de)serialisation
24-serde = { version = "1.0.130", features = ["derive"] }
25-serde_json = "*"
26# toml config file parsing
27-toml = "0.5.8"
28# Recursively traversing directories
29-ignore = "0.4.18"
30-walkdir = "2.3.2"
31# Enum trait impl macros
32-strum = { version = "0.26.2", features = ["derive"] }
33# Check for tty
34atty = "0.2.14"
35# Hex package manager client
36-hexpm = "2.1.1"
37# Allow user to type in sensitive information without showing it in the shell
38rpassword = "5.0.1"
39# Async runtime
40tokio = { version = "1.24.2", features = ["rt", "rt-multi-thread"] }
41# Creation of tar file archives
42-tar = "0.4.37"
43# gzip compression
44-flate2 = "1.0.22"
45# Byte array data type
46-bytes = "1.1.0"
47# Further file system functions (i.e. copy directory)
48fs_extra = "1.2.0"
49# Logging
50-tracing = "0.1.29"
51-tracing-subscriber = { version = "0.3.2", features = ["fmt", "env-filter"] }
52# HTTP client
53reqwest = { version = "0.11.26", default-features = false, features = ["rustls-tls"] }
54# Macro to work around Rust's traits not working with async. Sigh.
55-async-trait = "0.1.51"
56# HTTP types
57-http = "0.2.12" # hexpm depends on ^0.2
58# Async combinators for futures
59-futures = "0.3.17"
60# Little helper to omit fields that cannot be debug printed
61-debug-ignore = "1.0.1"
62# Checksums
63sha2 = "0.9.8"
64# Getting hostname
65hostname = "0.3.1"
66# base encoding
67-base16 = "0.2.1"
68# TOML parser/editor that preserves comments & formatting
69toml_edit = "0.9"
70# Language server protocol server plumbing
71-lsp-server = "0.7"
72-lsp-types = "0.94"
73# File locking
74fslock = "0.2.1"
75# Compact clone-on-write vector & string type
76-ecow = "0.2.1"
77# Provides a way to determine if two files are the same using filesystem node ids
78same-file = "1.0.6"
79# Open generated docs in browser
80opener = "0.6"
81# Drop in replacement for std::path but with only utf-8
82-camino = { version = "1.1.6", features = ["serde1"] }
8384[dev-dependencies]
85# Test assertion errors with diffs
86-pretty_assertions = "1.0.0"
87# Creation of temporary directories
88tempfile = "3.2.0"
89
···9# The pure compiler
10gleam-core = { path = "../compiler-core" }
11# Immutable data structures
12+im.workspace = true
13# OS SIGINT and SIGTERM signal handling
14ctrlc = { version = "3.2.1", features = ["termination"] }
15# Command line interface
16clap = { version = "4.5.2", features = ["derive"] }
17# Extra iter methods
18+itertools.workspace = true
19# Parsing
20+regex.workspace = true
21# Colours in terminal
22+termcolor.workspace = true
23# Data (de)serialisation
24+serde.workspace = true
25+serde_json.workspace = true
26# toml config file parsing
27+toml.workspace = true
28# Recursively traversing directories
29+ignore = "0.4.22"
30+walkdir.workspace = true
31# Enum trait impl macros
32+strum.workspace = true
33# Check for tty
34atty = "0.2.14"
35# Hex package manager client
36+hexpm.workspace = true
37# Allow user to type in sensitive information without showing it in the shell
38rpassword = "5.0.1"
39# Async runtime
40tokio = { version = "1.24.2", features = ["rt", "rt-multi-thread"] }
41# Creation of tar file archives
42+tar.workspace = true
43# gzip compression
44+flate2.workspace = true
45# Byte array data type
46+bytes.workspace = true
47# Further file system functions (i.e. copy directory)
48fs_extra = "1.2.0"
49# Logging
50+tracing.workspace = true
51+tracing-subscriber = { version = "0.3.18", features = ["fmt", "env-filter"] }
52# HTTP client
53reqwest = { version = "0.11.26", default-features = false, features = ["rustls-tls"] }
54# Macro to work around Rust's traits not working with async. Sigh.
55+async-trait.workspace = true
56# HTTP types
57+http.workspace = true
58# Async combinators for futures
59+futures.workspace = true
60# Little helper to omit fields that cannot be debug printed
61+debug-ignore.workspace = true
62# Checksums
63sha2 = "0.9.8"
64# Getting hostname
65hostname = "0.3.1"
66# base encoding
67+base16.workspace = true
68# TOML parser/editor that preserves comments & formatting
69toml_edit = "0.9"
70# Language server protocol server plumbing
71+lsp-server.workspace = true
72+lsp-types.workspace = true
73# File locking
74fslock = "0.2.1"
75# Compact clone-on-write vector & string type
76+ecow.workspace = true
77# Provides a way to determine if two files are the same using filesystem node ids
78same-file = "1.0.6"
79# Open generated docs in browser
80opener = "0.6"
81# Drop in replacement for std::path but with only utf-8
82+camino = { workspace = true, features = ["serde1"] }
8384[dev-dependencies]
85# Test assertion errors with diffs
86+pretty_assertions.workspace = true
87# Creation of temporary directories
88tempfile = "3.2.0"
89
+25-25
compiler-core/Cargo.toml
···78[dependencies]
9# Immutable data structures
10-im = "15.1.0"
11# Error message and warning formatting
12codespan-reporting = "0.11.1"
13-termcolor = "1.1.2"
14# Logging
15-tracing = "0.1.29"
16# Extra iter methods
17-itertools = "0.12.1"
18# String case conversion
19heck = "0.4.0"
20# Parsing
21-regex = "1.5.4"
22# Graph data structures
23petgraph = "0.6.0"
24# Levenshtein string distance for typo suggestions
25strsim = "0.10.0"
26# Data (de)serialisation
27-serde = { version = "1.0.130", features = ["derive"] }
28-serde_json = "*"
29# Cap'n Proto binary format runtime
30capnp = "0.14.3"
31# Enum trait impl macros
32-strum = { version = "0.26.2", features = ["derive"] }
33# Template rendering
34askama = "0.12.0"
35# Markdown parsing
···37# Non-empty vectors
38vec1 = "1.8.0"
39# Hex package manager client
40-hexpm = "2.1.1"
41# XDG directory locations
42dirs-next = "2.0.0"
43# HTTP types
44-http = "0.2.12" # hexpm depends on ^0.2
45# Byte collections
46-bytes = "1.1.0"
47# Macro to work around Rust's traits not working with async. Sigh.
48-async-trait = "0.1.51"
49# Little helper to omit fields that cannot be debug printed
50-debug-ignore = "1.0.1"
51# std::error::Error definition macro
52-thiserror = "1.0.30"
53# Async combinators for futures
54-futures = "0.3.17"
55# Creation of tar file archives
56-tar = "0.4.37"
57# gzip compression
58-flate2 = "1.0.22"
59# Helper for wrapping text onto lines based upon width
60textwrap = { version = "=0.15.0", features = ["terminal_size"] }
61# base encoding
62-base16 = "0.2.1"
63# toml config file parsing
64-toml = "0.5.8"
65# SPDX license parsing
66spdx = "0.8.0"
67# Binary format de-serialization
···69# cross platform single glob and glob set matching
70globset = { version = "0.4.9", features = ["serde1"] }
71# Compact clone-on-write vector & string type
72-ecow = { version = "0.2.1", features = ["serde"] }
73# Checksums
74xxhash-rust = { version = "0.8.6", features = ["xxh3"] }
75# Language server protocol server plumbing
76-lsp-server = "0.7"
77-lsp-types = "0.94"
78# Pubgrub dependency resolution algorithm
79pubgrub = "0.2"
80# Drop in replacement for std::path but with only utf-8
81-camino = { version = "1.1.6", features = ["serde1"] }
82# Used for converting absolute path to relative path
83pathdiff = { version = "0.2.1", features = ["camino"] }
84# Memory arena using ids rather than references
···9293[dev-dependencies]
94# Test assertion errors with diffs
95-pretty_assertions = "1.0.0"
96# Snapshot testing to make test maintenance easier
97-insta = "1.8.0"
98# Random value generation
99rand = "0.8.5"
···78[dependencies]
9# Immutable data structures
10+im.workspace = true
11# Error message and warning formatting
12codespan-reporting = "0.11.1"
13+termcolor.workspace = true
14# Logging
15+tracing.workspace = true
16# Extra iter methods
17+itertools.workspace = true
18# String case conversion
19heck = "0.4.0"
20# Parsing
21+regex.workspace = true
22# Graph data structures
23petgraph = "0.6.0"
24# Levenshtein string distance for typo suggestions
25strsim = "0.10.0"
26# Data (de)serialisation
27+serde.workspace = true
28+serde_json.workspace = true
29# Cap'n Proto binary format runtime
30capnp = "0.14.3"
31# Enum trait impl macros
32+strum.workspace = true
33# Template rendering
34askama = "0.12.0"
35# Markdown parsing
···37# Non-empty vectors
38vec1 = "1.8.0"
39# Hex package manager client
40+hexpm.workspace = true
41# XDG directory locations
42dirs-next = "2.0.0"
43# HTTP types
44+http.workspace = true
45# Byte collections
46+bytes.workspace = true
47# Macro to work around Rust's traits not working with async. Sigh.
48+async-trait.workspace = true
49# Little helper to omit fields that cannot be debug printed
50+debug-ignore.workspace = true
51# std::error::Error definition macro
52+thiserror.workspace = true
53# Async combinators for futures
54+futures.workspace = true
55# Creation of tar file archives
56+tar.workspace = true
57# gzip compression
58+flate2.workspace = true
59# Helper for wrapping text onto lines based upon width
60textwrap = { version = "=0.15.0", features = ["terminal_size"] }
61# base encoding
62+base16.workspace = true
63# toml config file parsing
64+toml.workspace = true
65# SPDX license parsing
66spdx = "0.8.0"
67# Binary format de-serialization
···69# cross platform single glob and glob set matching
70globset = { version = "0.4.9", features = ["serde1"] }
71# Compact clone-on-write vector & string type
72+ecow = { workspace = true, features = ["serde"] }
73# Checksums
74xxhash-rust = { version = "0.8.6", features = ["xxh3"] }
75# Language server protocol server plumbing
76+lsp-server.workspace = true
77+lsp-types.workspace = true
78# Pubgrub dependency resolution algorithm
79pubgrub = "0.2"
80# Drop in replacement for std::path but with only utf-8
81+camino = { workspace = true, features = ["serde1"] }
82# Used for converting absolute path to relative path
83pathdiff = { version = "0.2.1", features = ["camino"] }
84# Memory arena using ids rather than references
···9293[dev-dependencies]
94# Test assertion errors with diffs
95+pretty_assertions.workspace = true
96# Snapshot testing to make test maintenance easier
97+insta.workspace = true
98# Random value generation
99rand = "0.8.5"