Skip to content

Commit 6e2d6a7

Browse files
committed
Update broken dependecies
1 parent 3960a94 commit 6e2d6a7

File tree

8 files changed

+377
-332
lines changed

8 files changed

+377
-332
lines changed

Cargo.lock

Lines changed: 330 additions & 290 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ inherits = "release"
33
debug = true
44

55
[workspace]
6+
resolver = "2"
67
members = [
78
'./fathom',
89
]

fathom/Cargo.toml

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[package]
2-
name = "fathom"
3-
version = "0.1.0"
4-
authors = ["YesLogic Pty. Ltd. <[email protected]>"]
5-
repository = "https://github.com/yeslogic/fathom"
6-
edition = "2021"
2+
name = "fathom"
3+
version = "0.1.0"
4+
authors = ["YesLogic Pty. Ltd. <[email protected]>"]
5+
repository = "https://github.com/yeslogic/fathom"
6+
edition = "2021"
77
rust-version = "1.67.0"
8-
publish = false
8+
publish = false
99

1010
description = "A language for declaratively specifying binary data formats"
11-
readme = "../README.md"
12-
license = "Apache-2.0"
11+
readme = "../README.md"
12+
license = "Apache-2.0"
1313

1414
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1515

1616
[[test]]
17-
name = "source_tests"
17+
name = "source_tests"
1818
harness = false
1919

2020
[dependencies]
@@ -23,25 +23,29 @@ clap = { version = "4.0", features = ["derive"] }
2323
codespan-reporting = "0.11.1"
2424
fxhash = "0.2"
2525
itertools = "0.10"
26-
lalrpop-util = "0.19.5"
27-
lasso = { version = "0.6.0", features = ["multi-threaded", "ahasher", "inline-more"] }
26+
lalrpop-util = "0.20.0"
2827
levenshtein = "1.0.5"
2928
logos = "0.12"
29+
lasso = { version = "0.6.0", features = [
30+
"multi-threaded",
31+
"ahasher",
32+
"inline-more",
33+
] }
3034
once_cell = { version = "1.17.0", features = ["parking_lot"] }
3135
pretty = "0.11.2"
3236
rpds = "0.12.0"
3337
scoped-arena = "0.4.1"
3438
termsize = "0.1.6"
3539

3640
[build-dependencies]
37-
lalrpop = { git = "https://github.com/kmeakin/lalrpop", branch = "raw-identifiers" }
41+
lalrpop = "0.20.0"
3842

3943
[dev-dependencies]
40-
diff = "0.1.12"
41-
globwalk = "0.8"
42-
itertools = "0.10.1"
44+
diff = "0.1.12"
45+
globwalk = "0.8"
46+
itertools = "0.10.1"
4347
libtest-mimic = "0.6.0"
44-
serde = { version = "1.0", features = ["derive"] }
45-
toml = "0.5"
46-
trycmd = "0.14.10"
47-
walkdir = "2.3.2"
48+
serde = { version = "1.0", features = ["derive"] }
49+
toml = "0.5"
50+
trycmd = "0.14.10"
51+
walkdir = "2.3.2"

fathom/src/surface.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ impl ParseMessage {
440440
LalrpopParseError::InvalidToken { location } => ParseMessage::InvalidToken {
441441
range: ByteRange::new(location, location),
442442
},
443-
LalrpopParseError::UnrecognizedEOF { location, expected } => {
443+
LalrpopParseError::UnrecognizedEof { location, expected } => {
444444
ParseMessage::UnrecognizedEof {
445445
range: ByteRange::new(location, location),
446446
expected, // TODO: convert to descriptions?

tests/cmd/fathom-data.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Options:
1717
--module <MODULE_FILE> Path to a module to load when reading
1818
--format <FORMAT> Format used when reading the binary data [default: main]
1919
--allow-errors Continue even if errors were encountered
20-
-h, --help Print help information (use `--help` for more detail)
20+
-h, --help Print help (see more with '--help')
2121

2222
Examples:
2323

@@ -56,7 +56,7 @@ Options:
5656
Continue even if errors were encountered
5757

5858
-h, --help
59-
Print help information (use `-h` for a summary)
59+
Print help (see a summary with '-h')
6060

6161
Binary data can be read using a term supplied by the `--format` option:
6262

@@ -181,13 +181,13 @@ Arguments must be provided to `fathom data`
181181
```console
182182
$ fathom data
183183
? failed
184-
error: The following required arguments were not provided:
184+
error: the following required arguments were not provided:
185185
--format <FORMAT>
186186
<BINARY_FILE>
187187

188188
Usage: fathom data --format <FORMAT> <BINARY_FILE>
189189

190-
For more information try '--help'
190+
For more information, try '--help'.
191191

192192
```
193193

@@ -196,12 +196,12 @@ The `--format` option must be present when `--module` is not supplied
196196
```console
197197
$ fathom data formats/data/edid/dell-P2415Q.edid
198198
? failed
199-
error: The following required arguments were not provided:
199+
error: the following required arguments were not provided:
200200
--format <FORMAT>
201201

202202
Usage: fathom data --format <FORMAT> <BINARY_FILE>
203203

204-
For more information try '--help'
204+
For more information, try '--help'.
205205

206206
```
207207

tests/cmd/fathom-elab.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Options:
1515
--term <TERM_FILE> Path to a term to elaborate
1616
--allow-errors Continue even if errors were encountered
1717
--pretty-core Pretty print core module
18-
-h, --help Print help information
18+
-h, --help Print help
1919

2020
```
2121

@@ -32,7 +32,7 @@ Options:
3232
--term <TERM_FILE> Path to a term to elaborate
3333
--allow-errors Continue even if errors were encountered
3434
--pretty-core Pretty print core module
35-
-h, --help Print help information
35+
-h, --help Print help
3636

3737
```
3838

@@ -72,13 +72,13 @@ Either a `--module` or a `--term` must be provided
7272
```console
7373
$ fathom elab
7474
? failed
75-
error: The following required arguments were not provided:
75+
error: the following required arguments were not provided:
7676
--module <MODULE_FILE>
7777
--term <TERM_FILE>
7878

7979
Usage: fathom elab --module <MODULE_FILE> --term <TERM_FILE>
8080

81-
For more information try '--help'
81+
For more information, try '--help'.
8282

8383
```
8484

@@ -90,11 +90,11 @@ The `--module` and `--term` inputs conflict with each other
9090
$ fathom elab --module formats/object-id.fathom
9191
> --term tests/succeed/record-type/pair-dependent.fathom
9292
? failed
93-
error: The argument '--module <MODULE_FILE>' cannot be used with '--term <TERM_FILE>'
93+
error: the argument '--module <MODULE_FILE>' cannot be used with '--term <TERM_FILE>'
9494

9595
Usage: fathom elab --module <MODULE_FILE>
9696

97-
For more information try '--help'
97+
For more information, try '--help'.
9898

9999
```
100100

tests/cmd/fathom-norm.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Usage: fathom norm [OPTIONS] --term <TERM_FILE>
1313
Options:
1414
--term <TERM_FILE> Path to a term to normalize
1515
--allow-errors Continue even if errors were encountered
16-
-h, --help Print help information
16+
-h, --help Print help
1717

1818
```
1919

@@ -28,7 +28,7 @@ Usage: fathom norm [OPTIONS] --term <TERM_FILE>
2828
Options:
2929
--term <TERM_FILE> Path to a term to normalize
3030
--allow-errors Continue even if errors were encountered
31-
-h, --help Print help information
31+
-h, --help Print help
3232

3333
```
3434

@@ -53,12 +53,12 @@ At least a `--term` must be provided
5353
```console
5454
$ fathom norm
5555
? failed
56-
error: The following required arguments were not provided:
56+
error: the following required arguments were not provided:
5757
--term <TERM_FILE>
5858

5959
Usage: fathom norm --term <TERM_FILE>
6060

61-
For more information try '--help'
61+
For more information, try '--help'.
6262

6363
```
6464

tests/cmd/fathom.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Commands:
1717
help Print this message or the help of the given subcommand(s)
1818

1919
Options:
20-
-h, --help Print help information
21-
-V, --version Print version information
20+
-h, --help Print help
21+
-V, --version Print version
2222

2323
```
2424

@@ -37,8 +37,8 @@ Commands:
3737
help Print this message or the help of the given subcommand(s)
3838

3939
Options:
40-
-h, --help Print help information
41-
-V, --version Print version information
40+
-h, --help Print help
41+
-V, --version Print version
4242

4343
```
4444

@@ -60,7 +60,7 @@ Commands:
6060
help Print this message or the help of the given subcommand(s)
6161

6262
Options:
63-
-h, --help Print help information
64-
-V, --version Print version information
63+
-h, --help Print help
64+
-V, --version Print version
6565

6666
```

0 commit comments

Comments
 (0)