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 Aug 11, 2024
1 parent c78dd04 commit f215bc5
Show file tree
Hide file tree
Showing 21 changed files with 134 additions and 123 deletions.
190 changes: 100 additions & 90 deletions Cargo.lock

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ license = "MIT"

[workspace.lints.rust]
unsafe_code = "forbid"
rust_2018_idioms = "deny"
rust_2018_idioms = { level = "deny", priority = -1 }
missing_docs = "warn"

[workspace.lints.clippy]
all = "deny"
pedantic = "warn"
all = { level = "deny", priority = -1 }
pedantic = { level = "warn", priority = -1 }
clone_on_ref_ptr = "warn"

[workspace.dependencies]
anstream = "0.6.14"
anstyle = "1.0.7"
anstream = "0.6.15"
anstyle = "1.0.8"
anyhow = "1.0.86"
clap = { version = "4.5.8", features = ["derive", "wrap_help"] }
clap = { version = "4.5.15", features = ["derive", "wrap_help"] }
glob = "0.3.1"
indoc = "2.0.5"
insta = { version = "1.39.0", features = ["glob"] }
Expand All @@ -35,10 +35,10 @@ mimalloc = "0.1.43"
proc-macro2 = { version = "1.0.86", default-features = false }
quote = { version = "1.0.36", default-features = false }
rustc-hash = "2.0.0"
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.118"
syn = "2.0.68"
thiserror = "1.0.61"
serde = { version = "1.0.206", features = ["derive"] }
serde_json = "1.0.122"
syn = "2.0.73"
thiserror = "1.0.63"

[profile.release]
lto = "thin"
Expand Down
2 changes: 1 addition & 1 deletion book/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"vitepress": "^1.2.3"
"vitepress": "^1.3.2"
}
}
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions crates/mabo-doc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "bun run tailwind --minify"
},
"dependencies": {
"@tailwindcss/typography": "^0.5.13",
"tailwindcss": "^3.4.4"
"@tailwindcss/typography": "^0.5.14",
"tailwindcss": "^3.4.9"
}
}
2 changes: 1 addition & 1 deletion crates/mabo-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ anstream.workspace = true
anstyle.workspace = true
mabo-derive = { path = "../mabo-derive" }
miette = { workspace = true, features = ["derive"] }
winnow = "0.6.13"
winnow = "0.6.18"

[dev-dependencies]
indoc.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-parser/src/parser/aliases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub(super) fn parse<'i>(input: &mut Input<'i>) -> Result<TypeAlias<'i>, ParseErr

fn parse_name<'i>(input: &mut Input<'i>) -> Result<Name<'i>, Cause> {
(one_of('A'..='Z'), alphanumeric0)
.recognize()
.take()
.with_span()
.parse_next(input)
.map(Into::into)
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-parser/src/parser/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fn parse_name<'i>(input: &mut Input<'i>) -> Result<&'i str, Cause> {
one_of('a'..='z'),
take_while(0.., ('a'..='z', '0'..='9', '_')),
)
.recognize()
.take()
.parse_next(input)
}

Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-parser/src/parser/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ pub(super) fn parse_name<'i>(input: &mut Input<'i>) -> Result<Name<'i>, Cause> {
one_of('A'..='Z'),
take_while(0.., ('A'..='Z', '0'..='9', '_')),
)
.recognize()
.take()
.with_span()
.parse_next(input)
.map(Into::into)
Expand Down
4 changes: 2 additions & 2 deletions crates/mabo-parser/src/parser/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub(super) fn parse<'i>(input: &mut Input<'i>) -> Result<Enum<'i>, ParseError> {

pub(super) fn parse_name<'i>(input: &mut Input<'i>) -> Result<Name<'i>, Cause> {
(one_of('A'..='Z'), alphanumeric0)
.recognize()
.take()
.with_span()
.parse_next(input)
.map(Into::into)
Expand Down Expand Up @@ -156,7 +156,7 @@ fn parse_variant<'i>(input: &mut Input<'i>) -> Result<Variant<'i>, Cause> {

fn parse_variant_name<'i>(input: &mut Input<'i>) -> Result<&'i str, Cause> {
(one_of('A'..='Z'), alphanumeric0)
.recognize()
.take()
.parse_next(input)
.map_err(|e| {
e.map(|()| Cause::InvalidVariantName {
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-parser/src/parser/fields.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ fn parse_field_name<'i>(input: &mut Input<'i>) -> Result<Name<'i>, Cause> {
one_of('a'..='z'),
take_while(0.., ('a'..='z', '0'..='9', '_')),
)
.recognize()
.take()
.with_span()
.parse_next(input)
.map(Into::into)
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-parser/src/parser/generics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pub(super) fn parse<'i>(input: &mut Input<'i>) -> Result<Generics<'i>, ParseErro

fn parse_name<'i>(input: &mut Input<'i>) -> Result<Name<'i>, Cause> {
(one_of('A'..='Z'), alphanumeric0)
.recognize()
.take()
.with_span()
.parse_next(input)
.map(Into::into)
Expand Down
4 changes: 2 additions & 2 deletions crates/mabo-parser/src/parser/imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub(super) fn parse<'i>(input: &mut Input<'i>) -> Result<Import<'i>, ParseError>
)),
)),
)
.with_recognized()
.with_taken()
.with_span(),
token::Semicolon::parser(),
)),
Expand Down Expand Up @@ -106,7 +106,7 @@ pub(super) fn parse_segment<'i>(input: &mut Input<'i>) -> Result<Name<'i>, Cause
one_of('a'..='z'),
take_while(0.., ('a'..='z', '0'..='9', '_')),
)
.recognize()
.take()
.with_span()
.parse_next(input)
.map(Into::into)
Expand Down
4 changes: 2 additions & 2 deletions crates/mabo-parser/src/parser/literals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@ fn parse_float(input: &mut Input<'_>) -> Result<f64, Cause> {
(digit1, '.', digit1),
opt((one_of(['e', 'E']), opt(one_of(['+', '-'])), cut_err(digit1))),
)
.recognize()
.take()
.parse_to()
.parse_next(input)
}

fn parse_int(input: &mut Input<'_>) -> Result<i128, Cause> {
(opt(one_of(['+', '-'])), digit1)
.recognize()
.take()
.parse_to()
.parse_next(input)
.map_err(|e| {
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-parser/src/parser/modules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ fn parse_name<'i>(input: &mut Input<'i>) -> Result<Name<'i>, Cause> {
one_of('a'..='z'),
take_while(0.., ('a'..='z', '0'..='9', '_')),
)
.recognize()
.take()
.with_span()
.parse_next(input)
.map(Into::into)
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-parser/src/parser/structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub(super) fn parse<'i>(input: &mut Input<'i>) -> Result<Struct<'i>, ParseError>

pub(super) fn parse_name<'i>(input: &mut Input<'i>) -> Result<Name<'i>, Cause> {
(one_of('A'..='Z'), alphanumeric0)
.recognize()
.take()
.with_span()
.parse_next(input)
.map(Into::into)
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-parser/src/parser/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ fn parse_external_name<'i>(input: &mut Input<'i>) -> Result<Name<'i>, Cause> {
one_of('A'..='Z'),
take_while(0.., ('a'..='z', 'A'..='Z', '0'..='9', '_')),
)
.recognize()
.take()
.with_span()
.parse_next(input)
.map(Into::into)
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-project/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ignore = "0.4.22"
serde.workspace = true
spdx = "0.10.6"
thiserror.workspace = true
toml = "0.8.14"
toml = "0.8.19"

[lints]
workspace = true
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.6.0"
bytes = "1.7.1"
paste = "1.0.15"
thiserror.workspace = true

Expand Down
1 change: 1 addition & 0 deletions vscode-extension/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ schemas/*.yaml
syntaxes/*.yaml
.gitignore
biome.json
tsconfig.json
6 changes: 3 additions & 3 deletions vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@types/vscode": "~1.82.0",
"@vscode/vsce": "~2.29.0",
"esbuild": "^0.21.5",
"@vscode/vsce": "~2.31.1",
"esbuild": "^0.23.0",
"js-yaml": "^4.1.0",
"typescript": "^5.5.2"
"typescript": "^5.5.4"
}
}

0 comments on commit f215bc5

Please sign in to comment.