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:
14
patches/dagre_rust/Cargo.toml.orig
generated
Normal file
14
patches/dagre_rust/Cargo.toml.orig
generated
Normal file
@@ -0,0 +1,14 @@
|
||||
[package]
|
||||
name = "dagre_rust"
|
||||
version = "0.0.5"
|
||||
authors = ["Ameer Hamza <r3alst@gmail.com>"]
|
||||
categories = ["graph", "dagre"]
|
||||
description = "Dagre implementation in Rust"
|
||||
keywords = ["dagre", "graph", "dag"]
|
||||
license = "Apache-2.0"
|
||||
repository = "https://github.com/r3alst/dagre-rust"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
graphlib_rust = "0.0.2"
|
||||
ordered_hashmap = "0.0.3"
|
||||
Reference in New Issue
Block a user