mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-07 08:27:12 +00:00
feat: add fabro-graphviz-sys crate with vendored Graphviz 14.1.5
Vendor the Graphviz C source code into a new fabro-graphviz-sys crate, compiled via the cc crate. This eliminates the system dependency on the dot binary. Pre-generated parser files (grammar.c, scan.c, htmlparse.c) and table files (colortbl.h, entities.h) are committed alongside the vendored source. A global Mutex serializes FFI calls to work around Graphviz's non-thread-safe internal state. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f9a8891d74
commit
0d4e4a3cbb
1 changed files with 7 additions and 0 deletions
7
Cargo.lock
generated
7
Cargo.lock
generated
|
|
@ -1722,6 +1722,13 @@ dependencies = [
|
|||
"thiserror 2.0.18",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fabro-graphviz-sys"
|
||||
version = "0.176.2"
|
||||
dependencies = [
|
||||
"cc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fabro-hooks"
|
||||
version = "0.176.2"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue