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 Jan 13, 2025
1 parent 1c52516 commit 011fa0f
Show file tree
Hide file tree
Showing 17 changed files with 195 additions and 375 deletions.
480 changes: 150 additions & 330 deletions Cargo.lock

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ clone_on_ref_ptr = "warn"
[workspace.dependencies]
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"
anyhow = "1.0.95"
clap = { version = "4.5.26", features = ["derive", "wrap_help"] }
glob = "0.3.2"
indoc = "2.0.5"
insta = { version = "1.41.1", features = ["glob"] }
miette = { version = "7.3.0", default-features = false }
insta = { version = "1.42.0", features = ["glob"] }
miette = { version = "7.4.0", default-features = false }
mimalloc = "0.1.43"
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.215", features = ["derive"] }
serde_json = "1.0.133"
syn = "2.0.89"
thiserror = "2.0.3"
proc-macro2 = { version = "1.0.93", default-features = false }
quote = { version = "1.0.38", default-features = false }
rustc-hash = "2.1.0"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.135"
syn = "2.0.96"
thiserror = "2.0.11"

[profile.release]
lto = "thin"
Expand Down
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.16"
divan = "0.1.17"
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.25"
prettyplease = "0.2.29"
proc-macro2.workspace = true
quote.workspace = true
syn.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-doc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license.workspace = true

[dependencies]
anyhow.workspace = true
comrak = { version = "0.31.0", default-features = false }
comrak = { version = "0.33.0", default-features = false }
mabo-compiler = { path = "../mabo-compiler" }
mabo-meta = { path = "../mabo-meta" }
rinja = { version = "0.3.5", default-features = false }
Expand Down
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.15",
"tailwindcss": "^3.4.15"
"@tailwindcss/typography": "^0.5.16",
"tailwindcss": "^3.4.17"
}
}
24 changes: 14 additions & 10 deletions crates/mabo-doc/src/templates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,23 @@ mod filters {
use rinja::filters::Safe;

pub fn markdown(s: String) -> rinja::Result<Safe<String>> {
let mut extension = ExtensionOptions::default();
extension.strikethrough = true;
extension.tagfilter = true;
extension.table = true;
extension.autolink = true;
extension.tasklist = true;
extension.superscript = true;
extension.footnotes = true;
let extension = ExtensionOptions {
strikethrough: true,
tagfilter: true,
table: true,
autolink: true,
tasklist: true,
superscript: true,
footnotes: true,
..ExtensionOptions::default()
};

let parse = ParseOptions::default();

let mut render = RenderOptions::default();
render.escape = true;
let render = RenderOptions {
escape: true,
..RenderOptions::default()
};

Ok(Safe(comrak::markdown_to_html(
&s,
Expand Down
8 changes: 4 additions & 4 deletions crates/mabo-lsp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ license.workspace = true
[dependencies]
anyhow.workspace = true
clap.workspace = true
directories = "5.0.1"
directories = "6.0.0"
line-index = "0.1.2"
log = { version = "0.4.22", features = ["kv_std", "release_max_level_info", "std"] }
lsp-server = "0.7.7"
lsp-server = "0.7.8"
lsp-types = { version = "0.97.0", features = ["proposed"] }
mabo-compiler = { path = "../mabo-compiler" }
mabo-meta = { path = "../mabo-meta" }
mabo-parser = { path = "../mabo-parser", features = ["simd"] }
mabo-project = { path = "../mabo-project" }
ouroboros = "0.18.4"
ouroboros = "0.18.5"
parking_lot = "0.12.3"
rand = "0.8.5"
ropey = "1.6.1"
rustc-hash.workspace = true
serde_json.workspace = true
serde.workspace = true
time = { version = "0.3.36", features = ["formatting", "local-offset", "macros"] }
time = { version = "0.3.37", features = ["formatting", "local-offset", "macros"] }

[lints]
workspace = true
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.20"
winnow = "0.6.24"

[dev-dependencies]
indoc.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-parser/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl<'a> Schema<'a> {
/// precise as possible.
pub fn parse(input: &'a str, path: Option<&Path>) -> Result<Self, ParseSchemaError> {
parser::parse_schema
.parse(winnow::Located::new(input))
.parse(winnow::LocatingSlice::new(input))
.map(|mut schema| {
schema.path = path.map(ToOwned::to_owned);
schema
Expand Down
6 changes: 3 additions & 3 deletions crates/mabo-parser/src/location.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ use std::ops::Range;

use winnow::{
stream::{Checkpoint, Location, Offset, Stream},
Located,
LocatingSlice,
};

pub fn from_until<const N: usize, I>(
mut input: Located<I>,
start: &Checkpoint<<I as Stream>::Checkpoint, Located<I>>,
mut input: LocatingSlice<I>,
start: &Checkpoint<<I as Stream>::Checkpoint, LocatingSlice<I>>,
chars: [char; N],
) -> Range<usize>
where
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-parser/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ mod modules;
mod structs;
mod types;

type Input<'i> = winnow::Located<&'i str>;
type Input<'i> = winnow::LocatingSlice<&'i str>;
type Result<T, E = ParseSchemaCause> = winnow::PResult<T, E>;

pub(crate) fn parse_schema<'i>(input: &mut Input<'i>) -> Result<Schema<'i>, ParseSchemaCause> {
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 @@ -13,7 +13,7 @@ license.workspace = true
globset = "0.4.15"
ignore = "0.4.23"
serde.workspace = true
spdx = "0.10.7"
spdx = "0.10.8"
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.8.0"
bytes = "1.9.0"
paste = "1.0.15"
thiserror.workspace = true

Expand Down
4 changes: 0 additions & 4 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,3 @@ skip = [
{ name = "thiserror", version = "1" },
{ name = "thiserror-impl", version = "1" },
]
skip-tree = [
{ name = "windows-sys", version = "0.48", depth = 3 },
{ name = "windows-sys", version = "0.52", depth = 3 },
]
4 changes: 2 additions & 2 deletions vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@
"@biomejs/biome": "^1.9.4",
"@types/vscode": "~1.82.0",
"@vscode/vsce": "^3.2.1",
"esbuild": "^0.24.0",
"esbuild": "^0.24.2",
"js-yaml": "^4.1.0",
"typescript": "^5.7.2"
"typescript": "^5.7.3"
}
}

0 comments on commit 011fa0f

Please sign in to comment.