Skip to content

Commit

Permalink
chore(deps): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaka91 committed Nov 26, 2024
1 parent d6f37f9 commit e8fb4e9
Show file tree
Hide file tree
Showing 25 changed files with 242 additions and 268 deletions.
407 changes: 183 additions & 224 deletions Cargo.lock

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@ pedantic = { level = "warn", priority = -1 }
clone_on_ref_ptr = "warn"

[workspace.dependencies]
anstream = "0.6.15"
anstyle = "1.0.8"
anyhow = "1.0.89"
clap = { version = "4.5.19", features = ["derive", "wrap_help"] }
anstream = "0.6.18"
anstyle = "1.0.10"
anyhow = "1.0.93"
clap = { version = "4.5.21", features = ["derive", "wrap_help"] }
glob = "0.3.1"
indoc = "2.0.5"
insta = { version = "1.40.0", features = ["glob"] }
miette = { version = "7.2.0", default-features = false }
insta = { version = "1.41.1", features = ["glob"] }
miette = { version = "7.3.0", default-features = false }
mimalloc = "0.1.43"
proc-macro2 = { version = "1.0.86", default-features = false }
proc-macro2 = { version = "1.0.92", default-features = false }
quote = { version = "1.0.37", default-features = false }
rustc-hash = "2.0.0"
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
syn = "2.0.79"
thiserror = "1.0.64"
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.133"
syn = "2.0.89"
thiserror = "2.0.3"

[profile.release]
lto = "thin"
Expand Down
2 changes: 1 addition & 1 deletion book/biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"organizeImports": {
"enabled": true
},
Expand Down
4 changes: 2 additions & 2 deletions book/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"lint": "biome check --write .vitepress/config.mts"
},
"devDependencies": {
"@biomejs/biome": "^1.9.2",
"vitepress": "^1.3.4"
"@biomejs/biome": "^1.9.4",
"vitepress": "^1.5.0"
}
}
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion crates/mabo-benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ mabo-parser = { path = "../mabo-parser" }
mimalloc.workspace = true

[dev-dependencies]
divan = "0.1.14"
divan = "0.1.16"
indoc.workspace = true

[lints]
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ mabo-compiler = { path = "../mabo-compiler" }
mabo-parser = { path = "../mabo-parser" }
mabo-project = { path = "../mabo-project" }
miette = { workspace = true, features = ["fancy-no-backtrace"] }
prettyplease = "0.2.22"
prettyplease = "0.2.25"
proc-macro2.workspace = true
quote.workspace = true
syn.workspace = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: crates/mabo-compiler/tests/compiler.rs
description: "use datetime::timing::Timestamp;\n\nstruct Sample {\n value: Timestamp<u32> @1,\n}"
input_file: crates/mabo-compiler/tests/inputs/resolve/remote_gens_mismatch.mabo
snapshot_kind: text
---
× type resolution failed
├─▶ failed resolving type in remote modules
Expand All @@ -17,7 +18,8 @@ input_file: crates/mabo-compiler/tests/inputs/resolve/remote_gens_mismatch.mabo
╰────
help: the amount of generics must always match

Error: × the declaration has ❬Y❭0❬Y❭ generic(s), mismatching with the use side
Error:
× the declaration has ❬Y❭0❬Y❭ generic(s), mismatching with the use side
╭─[resolve/datetime.mabo:10:12]
7 │ mod timing {
8const UNIX_EPOCH: u64 = 0;
Expand All @@ -27,4 +29,3 @@ Error: × the declaration has ❬Y❭0❬Y❭ generic(s), mismatching with the
· ╰── declared here
11}
╰────

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: crates/mabo-compiler/tests/compiler.rs
description: "use datetime::timing;\n\nstruct Sample {\n value: timing::UNIX_EPOCH @1,\n}"
input_file: crates/mabo-compiler/tests/inputs/resolve/remote_kind_mismatch.mabo
snapshot_kind: text
---
× type resolution failed
├─▶ failed resolving type in remote modules
Expand All @@ -17,7 +18,8 @@ input_file: crates/mabo-compiler/tests/inputs/resolve/remote_kind_mismatch.mabo
╰────
help: only struct and enum definitions can be used

Error: × the definition is a ❬B❭constant❬B❭, which can't be referenced
Error:
× the definition is a ❬B❭constant❬B❭, which can't be referenced
╭─[resolve/datetime.mabo:8:11]
5 │ }
6
Expand All @@ -29,4 +31,3 @@ Error: × the definition is a ❬B❭constant❬B❭, which can't be reference
10struct Timestamp(u64 @1)
11 │ }
╰────

4 changes: 2 additions & 2 deletions crates/mabo-doc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ license.workspace = true

[dependencies]
anyhow.workspace = true
comrak = { version = "0.28.0", default-features = false }
comrak = { version = "0.31.0", default-features = false }
mabo-compiler = { path = "../mabo-compiler" }
mabo-meta = { path = "../mabo-meta" }
rinja = { version = "0.3.4", default-features = false }
rinja = { version = "0.3.5", default-features = false }

[dev-dependencies]
glob.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-doc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
},
"dependencies": {
"@tailwindcss/typography": "^0.5.15",
"tailwindcss": "^3.4.13"
"tailwindcss": "^3.4.15"
}
}
2 changes: 1 addition & 1 deletion crates/mabo-lsp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ license.workspace = true
anyhow.workspace = true
clap.workspace = true
directories = "5.0.1"
line-index = "0.1.1"
line-index = "0.1.2"
log = { version = "0.4.22", features = ["kv_std", "release_max_level_info", "std"] }
lsp-server = "0.7.7"
lsp-types = { version = "0.97.0", features = ["proposed"] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: crates/mabo-parser/tests/parser.rs
description: type sImple = Simple;
input_file: crates/mabo-parser/tests/inputs/invalid/alias_name.mabo
snapshot_kind: text
---
mabo::parse::alias_def (https://docs.rs/mabo-parser/0.1.0/mabo_parser/error/struct.ParseAliasError.html)

Expand All @@ -22,6 +23,5 @@ Error: mabo::parse::alias_def::invalid_name (https://docs.rs/mabo-parser/0.1.0/m
· ▲
· ╰── Problematic character
╰────
help: Alias names must start with an uppercase letter (❬Y❭A-Z❬Y❭), followed by zero or more alphanumeric
characters (❬Y❭A-Z, a-z, 0-9❬Y❭)
help: Alias names must start with an uppercase letter (❬Y❭A-Z❬Y❭), followed by zero or more alphanumeric characters
(❬Y❭A-Z, a-z, 0-9❬Y❭)
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: crates/mabo-parser/tests/parser.rs
description: type Sample = ();
input_file: crates/mabo-parser/tests/inputs/invalid/alias_tuple_empty.mabo
snapshot_kind: text
---
mabo::parse::alias_def (https://docs.rs/mabo-parser/0.1.0/mabo_parser/error/struct.ParseAliasError.html)

Expand Down Expand Up @@ -39,4 +40,5 @@ Error: mabo::parse::type_def (https://docs.rs/mabo-parser/0.1.0/mabo_parser/erro
╰────
help: Expected type definition in the form `❬B❭<Name>❬B❭`
Error: × error Verify
Error:
× error Verify
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: crates/mabo-parser/tests/parser.rs
description: "const VALUE: bool = truze;"
input_file: crates/mabo-parser/tests/inputs/invalid/const_literal_bool.mabo
snapshot_kind: text
---
mabo::parse::const_def (https://docs.rs/mabo-parser/0.1.0/mabo_parser/error/struct.ParseConstError.html)

Expand Down Expand Up @@ -31,5 +32,5 @@ Error: mabo::parse::literal (https://docs.rs/mabo-parser/0.1.0/mabo_parser/error
`❬B❭"..."❬B❭` for strings
or `❬B❭[...]❬B❭` for bytes
Error: × error Tag
Error:
× error Tag
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: crates/mabo-parser/tests/parser.rs
description: "enum Sample {\n One @1,\n Two {\n field: () @1,\n } @2,\n}"
input_file: crates/mabo-parser/tests/inputs/invalid/enum_named_tuple_empty.mabo
snapshot_kind: text
---
mabo::parse::enum_def (https://docs.rs/mabo-parser/0.1.0/mabo_parser/error/struct.ParseEnumError.html)

Expand Down Expand Up @@ -62,4 +63,5 @@ Error: mabo::parse::type_def (https://docs.rs/mabo-parser/0.1.0/mabo_parser/erro
╰────
help: Expected type definition in the form `❬B❭<Name>❬B❭`
Error: × error Verify
Error:
× error Verify
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: crates/mabo-parser/tests/parser.rs
description: "enum Sample {\n One @1,\n Two(() @1) @2,\n}"
input_file: crates/mabo-parser/tests/inputs/invalid/enum_unnamed_tuple_empty.mabo
snapshot_kind: text
---
mabo::parse::enum_def (https://docs.rs/mabo-parser/0.1.0/mabo_parser/error/struct.ParseEnumError.html)

Expand Down Expand Up @@ -62,4 +63,5 @@ Error: mabo::parse::type_def (https://docs.rs/mabo-parser/0.1.0/mabo_parser/erro
╰────
help: Expected type definition in the form `❬B❭<Name>❬B❭`
Error: × error Verify
Error:
× error Verify
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: crates/mabo-parser/tests/parser.rs
description: "struct sample {\n value: u32 @1,\n}"
input_file: crates/mabo-parser/tests/inputs/invalid/struct_name.mabo
snapshot_kind: text
---
mabo::parse::struct_def (https://docs.rs/mabo-parser/0.1.0/mabo_parser/error/struct.ParseStructError.html)

Expand All @@ -24,6 +25,5 @@ Error: mabo::parse::struct_def::invalid_name (https://docs.rs/mabo-parser/0.1.0/
· ╰── Problematic character
2value: u32 @1,
╰────
help: Struct names must start with an uppercase letter (❬YA-ZY❭), followed by zero or more alphanumeric
characters (❬YA-Z, a-z, 0-9Y❭)
help: Struct names must start with an uppercase letter (❬YA-ZY❭), followed by zero or more alphanumeric characters
(❬YA-Z, a-z, 0-9Y❭)
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: crates/mabo-parser/tests/parser.rs
description: "struct Sample {\n field: () @1,\n}"
input_file: crates/mabo-parser/tests/inputs/invalid/struct_named_tuple_empty.mabo
snapshot_kind: text
---
mabo::parse::struct_def (https://docs.rs/mabo-parser/0.1.0/mabo_parser/error/struct.ParseStructError.html)

Expand Down Expand Up @@ -60,4 +61,5 @@ Error: mabo::parse::type_def (https://docs.rs/mabo-parser/0.1.0/mabo_parser/erro
╰────
help: Expected type definition in the form `❬B❭<Name>❬B❭`
Error: × error Verify
Error:
× error Verify
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: crates/mabo-parser/tests/parser.rs
description: struct Sample(() @1)
input_file: crates/mabo-parser/tests/inputs/invalid/struct_unnamed_tuple_empty.mabo
snapshot_kind: text
---
mabo::parse::struct_def (https://docs.rs/mabo-parser/0.1.0/mabo_parser/error/struct.ParseStructError.html)

Expand Down Expand Up @@ -54,4 +55,5 @@ Error: mabo::parse::type_def (https://docs.rs/mabo-parser/0.1.0/mabo_parser/erro
╰────
help: Expected type definition in the form `❬B❭<Name>❬B❭`
Error: × error Verify
Error:
× error Verify
2 changes: 1 addition & 1 deletion crates/mabo-project/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ license.workspace = true
globset = "0.4.15"
ignore = "0.4.23"
serde.workspace = true
spdx = "0.10.6"
spdx = "0.10.7"
thiserror.workspace = true
toml = "0.8.19"

Expand Down
2 changes: 1 addition & 1 deletion crates/mabo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository.workspace = true
license.workspace = true

[dependencies]
bytes = "1.7.2"
bytes = "1.8.0"
paste = "1.0.15"
thiserror.workspace = true

Expand Down
4 changes: 3 additions & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ allow = [
]
exceptions = [
{ allow = ["MPL-2.0"], name = "option-ext" },
{ allow = ["Unicode-DFS-2016"], name = "unicode-ident" },
{ allow = ["Unicode-3.0"], name = "unicode-ident" },
]

[bans]
skip = [
{ name = "bitflags", version = "1" },
{ name = "heck", version = "0.4" },
{ name = "thiserror", version = "1" },
{ name = "thiserror-impl", version = "1" },
]
skip-tree = [
{ name = "windows-sys", version = "0.48", depth = 3 },
Expand Down
2 changes: 1 addition & 1 deletion vscode-extension/biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
"organizeImports": {
"enabled": true
},
Expand Down
6 changes: 3 additions & 3 deletions vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@
"vscode-languageclient": "^9.0.1"
},
"devDependencies": {
"@biomejs/biome": "^1.9.2",
"@biomejs/biome": "^1.9.4",
"@types/vscode": "~1.82.0",
"@vscode/vsce": "~3.1.0",
"@vscode/vsce": "^3.2.1",
"esbuild": "^0.24.0",
"js-yaml": "^4.1.0",
"typescript": "^5.6.2"
"typescript": "^5.7.2"
}
}

0 comments on commit e8fb4e9

Please sign in to comment.