Skip to content

Commit f8eed0a

Browse files
committed
Update resources
1 parent 2a6d845 commit f8eed0a

5 files changed

Lines changed: 43 additions & 36 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,24 @@ repository = "https://github.com/bytecodealliance/wit-bindgen"
2222
rust-version = "1.82.0"
2323

2424
[workspace.dependencies]
25-
anyhow = "1.0.72"
26-
bitflags = "2.3.3"
25+
anyhow = "1.0.100"
26+
bitflags = "2.10.0"
2727
heck = { version = "0.5" }
28-
pulldown-cmark = { version = "0.9", default-features = false }
29-
serde = { version = "1.0.218", features = ["derive"] }
30-
clap = { version = "4.3.19", features = ["derive"] }
31-
indexmap = "2.0.0"
32-
prettyplease = "0.2.20"
33-
syn = { version = "2.0.89", features = ["printing"] }
28+
pulldown-cmark = { version = "0.13.0", default-features = false }
29+
serde = { version = "1.0.228", features = ["derive"] }
30+
clap = { version = "4.5.53", features = ["derive"] }
31+
indexmap = "2.12.1"
32+
prettyplease = "0.2.37"
33+
syn = { version = "2.0.111", features = ["printing"] }
3434
futures = "0.3.31"
3535

36-
wat = "1.241.0"
37-
wasmparser = "0.241.0"
38-
wasm-encoder = "0.241.0"
39-
wasm-metadata = { version = "0.241.0", default-features = false }
40-
wit-parser = "0.241.0"
41-
wit-component = "0.241.0"
42-
wasm-compose = "0.241.0"
36+
wat = "1.241.2"
37+
wasmparser = "0.241.2"
38+
wasm-encoder = "0.241.2"
39+
wasm-metadata = { version = "0.241.2", default-features = false }
40+
wit-parser = "0.241.2"
41+
wit-component = "0.241.2"
42+
wasm-compose = "0.241.2"
4343

4444
wit-bindgen-core = { path = 'crates/core', version = '0.48.1' }
4545
wit-bindgen-c = { path = 'crates/c', version = '0.48.1' }

crates/guest-rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ all-features = true
1818
[dependencies]
1919
wit-bindgen-rust-macro = { path = "./macro", optional = true, version = "0.48.1" }
2020
bitflags = { workspace = true, optional = true }
21-
futures = { version = "0.3.30", optional = true }
21+
futures = { version = "0.3.31", optional = true }
2222

2323
# When built as part of libstd
2424
core = { version = "1.0", optional = true, package = "rustc-std-workspace-core" }

crates/markdown/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ test = false
1818
[dependencies]
1919
anyhow = { workspace = true }
2020
heck = { workspace = true }
21-
pulldown-cmark = { workspace = true }
21+
pulldown-cmark = { workspace = true, features = ["html"]}
2222
clap = { workspace = true, optional = true }
2323
wit-bindgen-core = { workspace = true }

crates/markdown/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ impl WorldGenerator for Markdown {
209209
for event in parser {
210210
if let Event::Code(code) = &event {
211211
if let Some(dst) = self.hrefs.get(code.as_ref()) {
212-
let tag = Tag::Link(LinkType::Inline, dst.as_str().into(), "".into());
212+
let tag = Tag::Link { link_type: LinkType::Inline, dest_url: dst.as_str().into(), title: "".into(), id: "".into(), };
213213
events.push(Event::Start(tag.clone()));
214214
events.push(event.clone());
215-
events.push(Event::End(tag));
215+
events.push(Event::End(tag.into()));
216216
continue;
217217
}
218218
}

0 commit comments

Comments
 (0)