fix(mermaid): switch to crates.io and patch dagre_rust panic

Switch mermaid-rs-renderer from git dependency to crates.io 0.1.

Vendor and patch dagre_rust 0.0.5 to fix upstream panic in
remove_edge_label_proxies() where unwrap() is called on None
when processing edge label proxies without edge references.

This enables sequence diagrams and state diagrams that previously
crashed the build.
This commit is contained in:
Timothy DeHerrera
2026-01-28 20:52:05 -07:00
parent d417e1c535
commit 88b53b7a7b
33 changed files with 4376 additions and 9 deletions

2
patches/dagre_rust/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
/target
.idea