this repo has no description

Move common deps to the workspace Cargo.toml

authored by danikvitek.bsky.social and committed by

Louis Pilfold 7f81ffc7 e0e6d6ac

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