From 29bbee12ce48d6e57a7a36226d6668ac6128a5d7 Mon Sep 17 00:00:00 2001 From: Jonas Kruckenberg Date: Sun, 4 Jun 2023 08:05:21 +0200 Subject: [PATCH 1/6] fix: correctly handle CRLF line endings --- crates/wit-parser/src/lex.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/wit-parser/src/lex.rs b/crates/wit-parser/src/lex.rs index e7a54848..d2261f9b 100644 --- a/crates/wit-parser/src/lex.rs +++ b/crates/wit-parser/src/lex.rs @@ -38,16 +38,16 @@ fn block_comment(lex: &mut Lexer) -> FilterResult<(), Error> { #[derive(Logos, Debug, Copy, Clone, PartialEq, Eq, Hash)] #[logos(error = Error)] pub enum Token { - #[regex(r"[ \t\n\f]+", logos::skip)] + #[regex(r"[ \t\r\n\f]+", logos::skip)] Whitespace, - #[regex("(//[^\n]*)", logos::skip)] + #[regex("(//[^\r\n]*)", logos::skip)] Comment, #[regex(r#"/\*"#, |lex| match block_comment(lex) { FilterResult::Emit(_) => FilterResult::Skip, v => v })] BlockComment, - #[regex("(///[^\n]*)")] + #[regex("(///[^\r\n]*)")] DocComment, #[regex(r#"/\*\*"#, block_comment)] BlockDocComment, From 2d34d0e984bd5953277316623ae1f6b535a44fdb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 10 Sep 2023 21:23:11 +0000 Subject: [PATCH 2/6] chore(deps): update rust crate syn to 2.0.32 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8db5e254..7b98af27 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ log = { version = "0.4.20", features = [ "kv_unstable", "kv_unstable_std" ] } serde = "1.0.188" quote = "1.0.33" proc-macro2 = "1.0.66" -syn = "2.0.31" +syn = "2.0.32" [dependencies] clap.workspace = true From 4a090d347497a8678f2b291b4258b880d8d6a11b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 12 Sep 2023 21:25:41 +0000 Subject: [PATCH 3/6] chore(deps): update rust crate clap to 4.4.3 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7b98af27..2524f85e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ rust-version = "1.70" thiserror = "1.0.48" bitflags = { version = "2.4.0", features = ["serde"] } heck = { version = "0.4", features = ["unicode"] } -clap = { version = "4.4.2", features = ["derive"] } +clap = { version = "4.4.3", features = ["derive"] } tauri-bindgen-core = { path = "crates/core" } tauri-bindgen-gen-host = { path = "crates/gen-host", features = ['cli'] } tauri-bindgen-gen-markdown = { path = "crates/gen-markdown", features = ['cli'] } From e1a5ba04e641dc01a6f73dcf85866c6d8115e50c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 13 Sep 2023 22:36:00 +0000 Subject: [PATCH 4/6] chore(deps): update rust crate serde-wasm-bindgen to 0.6.0 --- crates/gen-guest-rust/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/gen-guest-rust/Cargo.toml b/crates/gen-guest-rust/Cargo.toml index 3f339d7b..a86acd70 100644 --- a/crates/gen-guest-rust/Cargo.toml +++ b/crates/gen-guest-rust/Cargo.toml @@ -20,7 +20,7 @@ log.workspace = true [dev-dependencies] wasm-bindgen = { version = "0.2.87", features = ["serde-serialize"] } wasm-bindgen-futures = "0.4.37" -serde-wasm-bindgen = "0.5.0" +serde-wasm-bindgen = "0.6.0" js-sys = "0.3.64" tauri-bindgen-guest-rust = { path = "../guest-rust" } serde = { version = "1.0.188", features = ["derive"] } From 9506a6d7878e606e9f040ca31a50298e4a3bdb01 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 14 Sep 2023 09:24:50 +0000 Subject: [PATCH 5/6] chore(deps): update rust crate syn to 2.0.33 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2524f85e..2ce803de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ log = { version = "0.4.20", features = [ "kv_unstable", "kv_unstable_std" ] } serde = "1.0.188" quote = "1.0.33" proc-macro2 = "1.0.66" -syn = "2.0.32" +syn = "2.0.33" [dependencies] clap.workspace = true From 6191f531feda31c90c4eec49da40af953e67bc37 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 14 Sep 2023 09:25:16 +0000 Subject: [PATCH 6/6] chore(deps): update rust crate proc-macro2 to 1.0.67 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2ce803de..7d20be82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,7 @@ miette = { version = "5.10.0", features = ["fancy"] } log = { version = "0.4.20", features = [ "kv_unstable", "kv_unstable_std" ] } serde = "1.0.188" quote = "1.0.33" -proc-macro2 = "1.0.66" +proc-macro2 = "1.0.67" syn = "2.0.33" [dependencies]