Skip to content

Commit

Permalink
Update deps, remove overly specific constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Apr 22, 2024
1 parent 92ae5b2 commit 94bd062
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 66 deletions.
52 changes: 26 additions & 26 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,51 +10,51 @@ members = [
# common dependencies
[workspace.dependencies]
# Immutable data structures
im = "15.1.0"
im = "15"
# Extra iter methods
itertools = "0.12.1"
itertools = "0"
# Parsing
regex = "1.10.4"
regex = "1"
# Colours in terminal
termcolor = "1.4.1"
termcolor = "1"
# Data (de)serialisation
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# toml config file parsing
toml = "0.5.8"
walkdir = "2.5.0"
toml = "0"
walkdir = "2"
# Enum trait impl macros
strum = { version = "0.26.2", features = ["derive"] }
strum = { version = "0", features = ["derive"] }
# Hex package manager client
hexpm = "2.2.0"
hexpm = "2"
# Creation of tar file archives
tar = "0.4.40"
tar = "0"
# gzip compression
flate2 = "1.0.28"
flate2 = "1"
# Byte array data type
bytes = "1.6.0"
bytes = "1"
# Logging
tracing = "0.1.40"
tracing = "0"
# Macro to work around Rust's traits not working with async. Sigh.
async-trait = "0.1.80"
async-trait = "0"
# HTTP types
http = "1.0"
http = "1"
# Async combinators for futures
futures = "0.3.30"
futures = "0"
# Little helper to omit fields that cannot be debug printed
debug-ignore = "1.0.5"
debug-ignore = "1"
# base encoding
base16 = "0.2.1"
base16 = "0"
# Language server protocol server plumbing
lsp-server = "0.7"
lsp-types = "0.95"
lsp-server = "0"
lsp-types = "0"
# Compact clone-on-write vector & string type
ecow = "0.2.1"
ecow = "0"
# Drop in replacement for std::path but with only utf-8
camino = "1.1.6"
camino = "1"
# std::error::Error definition macro
thiserror = "1.0.58"
thiserror = "1"
# Test assertion errors with diffs
pretty_assertions = "1.4.0"
pretty_assertions = "1"
# Snapshot testing to make test maintenance easier
insta = "1.36.1"
insta = "1"
32 changes: 16 additions & 16 deletions compiler-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,32 @@ license-file = "LICENCE"
# The pure compiler
gleam-core = { path = "../compiler-core" }
# OS SIGINT and SIGTERM signal handling
ctrlc = { version = "3.2.1", features = ["termination"] }
ctrlc = { version = "3", features = ["termination"] }
# Command line interface
clap = { version = "4.5.4", features = ["derive"] }
clap = { version = "4", features = ["derive"] }
# Recursively traversing directories
ignore = "0.4.22"
ignore = "0"
# Allow user to type in sensitive information without showing it in the shell
rpassword = "7.3.1"
rpassword = "7"
# Async runtime
tokio = { version = "1.24.2", features = ["rt", "rt-multi-thread"] }
tokio = { version = "1", features = ["rt", "rt-multi-thread"] }
# Further file system functions (i.e. copy directory)
fs_extra = "1.2.0"
tracing-subscriber = { version = "0.3.18", features = ["fmt", "env-filter"] }
fs_extra = "1"
tracing-subscriber = { version = "0", features = ["fmt", "env-filter"] }
# HTTP client
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
reqwest = { version = "0", default-features = false, features = ["rustls-tls"] }
# Checksums
sha2 = "0.10.8"
sha2 = "0"
# Getting hostname
hostname = "0.3.1"
hostname = "0"
# TOML parser/editor that preserves comments & formatting
toml_edit = "0.9"
toml_edit = "0"
# File locking
fslock = "0.2.1"
fslock = "0"
# Provides a way to determine if two files are the same using filesystem node ids
same-file = "1.0.6"
same-file = "1"
# Open generated docs in browser
opener = "0.7"
opener = "0"
camino = { workspace = true, features = ["serde1"] }
async-trait.workspace = true
base16.workspace = true
Expand All @@ -61,10 +61,10 @@ walkdir.workspace = true

[dev-dependencies]
# Creation of temporary directories
tempfile = "3.2.0"
tempfile = "3"
pretty_assertions.workspace = true

[build-dependencies]
# For statically linking the VCRuntime on Windows when
# using the MSVC toolchain
static_vcruntime = "2.0.0"
static_vcruntime = "2"
40 changes: 19 additions & 21 deletions compiler-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,39 @@ license-file = "LICENCE"

[dependencies]
# Error message and warning formatting
codespan-reporting = "0.11.1"
codespan-reporting = "0"
# String case conversion
heck = "0.5.0"
heck = "0"
# Graph data structures
petgraph = "0.6.0"
petgraph = "0"
# Levenshtein string distance for typo suggestions
strsim = "0.11.0"
strsim = "0"
# Cap'n Proto binary format runtime
capnp = "0.14.3"
capnp = "0"
# Template rendering
askama = "0.12.0"
askama = "0"
# Markdown parsing
pulldown-cmark = { version = "0.10.0", default-features = false, features = [
"html",
] }
pulldown-cmark = { version = "0", default-features = false, features = ["html"] }
# Non-empty vectors
vec1 = "1.11.1"
vec1 = "1"
# XDG directory locations
dirs-next = "2.0.0"
dirs-next = "2"
# Helper for wrapping text onto lines based upon width
textwrap = { version = "=0.15.0", features = ["terminal_size"] }
# SPDX license parsing
spdx = "0.10.4"
spdx = "0"
# Binary format de-serialization
bincode = "1.3.3"
bincode = "1"
# cross platform single glob and glob set matching
globset = { version = "0.4.9", features = ["serde1"] }
globset = { version = "0", features = ["serde1"] }
# Checksums
xxhash-rust = { version = "0.8.6", features = ["xxh3"] }
xxhash-rust = { version = "0", features = ["xxh3"] }
# Pubgrub dependency resolution algorithm
pubgrub = "0.2"
pubgrub = "0"
# Used for converting absolute path to relative path
pathdiff = { version = "0.2.1", features = ["camino"] }
pathdiff = { version = "0", features = ["camino"] }
# Memory arena using ids rather than references
id-arena = "2.1"
id-arena = "2"
async-trait.workspace = true
base16.workspace = true
bytes.workspace = true
Expand All @@ -68,12 +66,12 @@ tracing.workspace = true

[build-dependencies]
# Data (de)serialisation
serde_derive = "1.0.130"
serde_derive = "1"
# Cap'n Proto binary format codegen
capnpc = "0.14.4"
capnpc = "0"

[dev-dependencies]
pretty_assertions.workspace = true
insta.workspace = true
# Random value generation
rand = "0.8.5"
rand = "0"
6 changes: 3 additions & 3 deletions compiler-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ crate-type = ["cdylib", "rlib"]

[dependencies]
gleam-core = { path = "../compiler-core" }
console_error_panic_hook = "0.1.7"
serde-wasm-bindgen = "0.6"
wasm-bindgen = { version = "0.2.92", features = ["serde-serialize"] }
console_error_panic_hook = "0"
serde-wasm-bindgen = "0"
wasm-bindgen = { version = "0", features = ["serde-serialize"] }
tracing-wasm = "*"
camino.workspace = true
hexpm.workspace = true
Expand Down

0 comments on commit 94bd062

Please sign in to comment.